Datasheet

Jon Waddington
80
up = 33 'RC5 code "channel up"
down = 32 'RC5 code "channel down"
enter = 12 'RC5 code "stand-by"
RD_ROM = $33 ' 1W ROM commands
MATCH_ROM = $55
SKIP_ROM = $CC
SRCH_ROM = $F0
ALARM_SRCH = $EC
CVRT_TEMP = $44 ' DS1822 commands
WR_SPAD = $4E
RD_SPAD = $BE
COPY_SPAD = $48
RD_EE = $B8
RD_POWER = $B4
VAR
byte sel
byte code
byte name[160]
byte dvc[16]
byte addr[16]
byte room[16]
byte type[16]
byte dvcnum
byte rcflag
byte snum[8]
OBJ
text : "tv_text"
rc : "genrc5"
x10 : "x10"
eeprom : "Propeller Eeprom"
in : "keyboard"
ow : "jm_1-wire"
i2c : "jm_i2c"
xb : "XBee_Object"
PUB start
{{Method initializes objects}}
rc.init(2)
text.start(12)
x10.init(0, 1, ha)
'in.start(26, 27)
i2c.init(5, 4)
main
PRI main | i
{{Method displays Main Menu}}