I have been trying to get a DS3231 RTC to respond over i2c and I'm not having much luck. Trying to just read a register on the chip. It's odd formatting, but it wants me to give the register as string representation of a hex number or else it throws Type Mismatch errors. (I think?!?)
10 A$=I2CR(104,"0x03",1)
20 PRINT A$
This runs, but prints a blank line. When I check RET(0) it returns 3
I am not sure what I'm doing wrong here, but it's likely something I'm missing. If anyone has worked with i2c on the BASIC Engine I'd appreciate any insight you have!