comparison code_part1/OSTC_code_asm_part1/oled_samsung.asm @ 3:3cf8af30b36e

v1.51 beta
author heinrichsweikamp
date Thu, 04 Feb 2010 14:56:12 +0100
parents d11ef8dc4b2c
children 31fa973a70fd
comparison
equal deleted inserted replaced
2:d11ef8dc4b2c 3:3cf8af30b36e
235 incf draw_box_temp1,F 235 incf draw_box_temp1,F
236 movf draw_box_temp1,W 236 movf draw_box_temp1,W
237 cpfseq box_temp+4 237 cpfseq box_temp+4
238 bra PLED_frame5 238 bra PLED_frame5
239 239
240 movlw color_white 240 call PLED_standard_color
241 call PLED_set_color
242 241
243 return 242 return
244 243
245 ; ----------------------------- 244 ; -----------------------------
246 ; PLED Box (win_color1 and win_color2) 245 ; PLED Box (win_color1 and win_color2)
348 bra PLED_box2 347 bra PLED_box2
349 348
350 movlw 0x00 ; NOP, to stop Address Update Counter 349 movlw 0x00 ; NOP, to stop Address Update Counter
351 rcall PLED_CmdWrite 350 rcall PLED_CmdWrite
352 351
353 movlw color_white 352 call PLED_standard_color
354 call PLED_set_color 353 return
355 return
356
357 354
358 ; ----------------------------- 355 ; -----------------------------
359 ; PLED_ClearScreen: 356 ; PLED_ClearScreen:
360 ; ----------------------------- 357 ; -----------------------------
361 PLED_ClearScreen: 358 PLED_ClearScreen:
462 bsf oled_vdd 459 bsf oled_vdd
463 nop 460 nop
464 bcf oled_cs 461 bcf oled_cs
465 nop 462 nop
466 bsf oled_nreset 463 bsf oled_nreset
467 WAITMS d'10' ; Quick wake-up 464 ; WAITMS d'10' ; Quick wake-up
468 ; WAITMS d'250' 465 WAITMS d'250' ; Standard wake-up
469 bsf oled_e_nwr 466 bsf oled_e_nwr
470 nop 467 nop
471 bcf oled_nreset 468 bcf oled_nreset
472 WAIT10US d'2' 469 WAIT10US d'2'
473 bsf oled_nreset 470 bsf oled_nreset