Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clrf var1 ; Clear table pointer
- clrf TableLength1
- call command_mode
- movlw 0x80
- call write_lcd
- TableLoop1:
- movf var1, W
- call TableRead1 ; Call table
- movwf temp ; store receive byte
- call write_mode ; set lcd transmission to write mode
- movf temp, W ; pop receive byte
- call write_lcd ; Output to console
- call delay_5ms
- ; Use table value (in W register) here
- incf var1, F ; Increase table pointer
- movlw TableLength1 ; Check if at end of table
- subwf var1, W
- btfss STATUS, Z
- goto TableLoop1 ; If not, then loop again
- ; User code...
Add Comment
Please, Sign In to add comment