comparison code_part1/OSTC_code_asm_part1/oled_samsung.asm @ 331:469f4861c7c1 ScreenDump

Debug screen dump
author JeanDo
date Tue, 10 May 2011 09:49:18 +0200
parents 447390289f47
children e6e1b89b7c3e
comparison
equal deleted inserted replaced
330:447390289f47 331:469f4861c7c1
530 ; ----------------------------- 530 ; -----------------------------
531 ; NOTE: you should "setf TRISD" before calling this function, 531 ; NOTE: you should "setf TRISD" before calling this function,
532 ; to make PortD an input port... 532 ; to make PortD an input port...
533 PLED_DataRead: 533 PLED_DataRead:
534 bsf oled_rs ; Data register. 534 bsf oled_rs ; Data register.
535 nop ; Enable delay to read data...
536 bcf oled_e_nwr ; Read enable. 535 bcf oled_e_nwr ; Read enable.
537 nop
538 nop
539 nop
540 nop
541 nop
542 movf PORTD,W ; Read byte. 536 movf PORTD,W ; Read byte.
543 bsf oled_e_nwr ; release bus. 537 bsf oled_e_nwr ; release bus.
544 return 538 return
545 539
546 ; ----------------------------- 540 ; -----------------------------