chiark / gitweb /
print | in between bytes, so we can tell which is which, and respace a bit
authorian <ian>
Mon, 7 Feb 2005 00:03:08 +0000 (00:03 +0000)
committerian <ian>
Mon, 7 Feb 2005 00:03:08 +0000 (00:03 +0000)
cebpic/tblrd_test.asm

index 6f0428c6a3f29b8247c6af2e52a3cd80d490ba60..c95f82588a6efccb187994dbcf8173e4874c3886 100644 (file)
@@ -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