chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69e67b4
)
print | in between bytes, so we can tell which is which, and respace a bit
author
ian
<ian>
Mon, 7 Feb 2005 00:03:08 +0000
(
00:03
+0000)
committer
ian
<ian>
Mon, 7 Feb 2005 00:03:08 +0000
(
00:03
+0000)
cebpic/tblrd_test.asm
patch
|
blob
|
history
diff --git
a/cebpic/tblrd_test.asm
b/cebpic/tblrd_test.asm
index 6f0428c6a3f29b8247c6af2e52a3cd80d490ba60..c95f82588a6efccb187994dbcf8173e4874c3886 100644
(file)
--- 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