Hello,
28x1, axe027
After a read of the ds1307 with the hi2cin command a debug gives the "waiting" window.
But with hi2cin commented out debug gives the display window.
Same with sertxd.
Here is the pertinent code:
And:
Is there a way to correct this?
Help will be much appreciated.
Orville
28x1, axe027
After a read of the ds1307 with the hi2cin command a debug gives the "waiting" window.
But with hi2cin commented out debug gives the display window.
Same with sertxd.
Here is the pertinent code:
Code:
hi2csetup i2cmaster, %11010000, i2cslow, i2cbyte
; read time and date and debug display
start:
hi2cin 0, (b0, b1, b2, b3, b4, b5, b6) ;get clock data
pause 2000 ;wait for i/p
debug ;GIVES DEBUG WAITING
Code:
hi2csetup i2cmaster, %11010000, i2cslow, i2cbyte
; read time and date and debug display
;hi2cin 0, (b0, b1, b2, b3, b4, b5, b6) ;get clock data
pause 2000 ;wait for i/p
debug ;GIVES DEBUG DISPLAY
Help will be much appreciated.
Orville