Adt7410
caskaz
Posts: 957
Hi.
I try to write code for ADT7410.
Register cannot read by propforth.
I try to do by spin.
Maybe bad code because I don't use spin.
I used i2cObjectv2[http://obex.parallax.com/object/27]
I try to read register(0xB).
Register(0xB) is readonly(hC*).
But result is h08.
Where is wrong?
I try to write code for ADT7410.
Register cannot read by propforth.
I try to do by spin.
Maybe bad code because I don't use spin.
I used i2cObjectv2[http://obex.parallax.com/object/27]
I try to read register(0xB).
Register(0xB) is readonly(hC*).
But result is h08.
I2C Demo (v2)! Scanning I2C Bus.... Scan Addr : %00000000, ACK <-- maybe bug Scan Addr : %10010000, ACK <-- ADT7410 Scan Addr : %10100000, ACK <-- eeprom on QuickStaertBoard i2cScan found 3 devices! 08 <--- register(hB) valueI have no idea.
Where is wrong?
Comments
I checked Write-method and Read-method nside Basic_I2C_Driver and Basic_I2C_Driver_1.3.
They are same and are 8bit-data.