From: ian Date: Mon, 7 Feb 2005 00:03:08 +0000 (+0000) Subject: print | in between bytes, so we can tell which is which, and respace a bit X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=edcba5e39492a27f2f490030a43929c5a86fd072;p=trains.git print | in between bytes, so we can tell which is which, and respace a bit --- diff --git a/cebpic/tblrd_test.asm b/cebpic/tblrd_test.asm index 6f0428c..c95f825 100644 --- a/cebpic/tblrd_test.asm +++ b/cebpic/tblrd_test.asm @@ -170,12 +170,19 @@ initialise call led_green main_loop_led movlb I2C_BUFF_PAGE ; ser BSR=i2c BSR (4) + + movlw '|' + movwf TXREG,0 + call waitfortsr + movf PIC_NO,0,1 movwf TXREG,0 call waitfortsr + movf I2C_CTRL,0,1 movwf TXREG,0 call waitfortsr + goto main_loop_led