diff options
Diffstat (limited to 'software/ihu/ihu.asm')
-rw-r--r-- | software/ihu/ihu.asm | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/software/ihu/ihu.asm b/software/ihu/ihu.asm index 18c0db4..e110783 100644 --- a/software/ihu/ihu.asm +++ b/software/ihu/ihu.asm @@ -52,8 +52,8 @@ DTMF_INT EQU 0 BAT_V EQU 1 SOLAR_V EQU 2 BAT_C EQU 3 -RTC_SDA EQU 4 -RTC_SCL EQU 5 +I2C_SDA EQU 4 +I2C_SCL EQU 5 RTC_INT EQU 6 RTC_RST EQU 7 ;; PortC @@ -129,8 +129,8 @@ CALC_TEMP3 EQU H'0117' ;; all pages -RTC_BYTE EQU H'0070' -RTC_BIT_CNT EQU H'0071' +I2C_BYTE EQU H'0070' +I2C_BIT_CNT EQU H'0071' OWIRE_BYTE EQU H'0072' OWIRE_BIT_CNT EQU H'0073' OWIRE_CNT EQU H'0074' @@ -337,6 +337,9 @@ uart_rx_fe include "ttx.inc" ;; ------------------------------------- + include "i2c.inc" + + ;; ------------------------------------- include "rtc.inc" ;; ------------------------------------- @@ -348,7 +351,7 @@ uart_rx_fe ;; ------------------------------------- ;; MAINLOOP main - sleep +; sleep nop ;; -------------------- |