NHD-10.1-1024600AF-LSXV#-CTP I2C devices

Comments

1 comment

  • Ted M.
    NHD Staff

    Hi Shaun,

    Address A0 is the standard EEPROM I2C location for the EDID data.

    Here is some example code for the the touchscreen:

    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 = i2c_rx(1);}
    i2c_stop();

    Regards,

    0

Please sign in to leave a comment.