NHD-7.0-800480EF-ASXN-CTP Touch Controller
I have the NHD-7.0-800480EF-ASXN-CTP with a 5406 CTP on it.
I looked at the data sheet for the 5x26 and the 5x06, and neither specify the I2C address.
Searching around I see it maybe 0x38. But I get no ACK in the I2C buss.
Emailed customer service and got no response. Any help appreciated.
Thanks
0
-
Hi Meder,
The I2C slave address of the CTP is in the NHD-7.0-800480EF-ASXN-CTP datasheet under sample code on page 18.https://newhavendisplay.com/content/specs/NHD-7.0-800480EF-ASXN-CTP.pdf
Sample code to read touch data:
i2c_start();
i2c_tx(0x70); //Slave Address (Write)
i2c_tx(0x00); //Start reading address
i2c_stop();
i2c_start();
i2c_tx(0x71); //Slave Address (Read)
for(i=0x00;i<0x1F;i++)
{touchdata_buffer[i] = i2c_rx(1);}
i2c_stop();Regards,
0 -
Thanks for the information. It really helped me!
0
Please sign in to leave a comment.
Comments
2 comments