lupyuen / hynitron_i2c_cst0xxse

Reference code for Hynitron CST816S Touch Controller
https://medium.com/swlh/sneak-peek-of-pinetime-smart-watch-and-why-its-perfect-for-teaching-iot-81b74161c159?source=friends_link&sk=d9301466f5499bece3e7b638e99ec20d
14 stars 5 forks source link

CST816d I2C address as 0x38 is it right #2

Open Ash8356 opened 2 years ago

Ash8356 commented 2 years ago

i am able to get i2c address of the CST816D as 0x38 in arduino & nRF52 , is this the RIGHT I2C address . i am using nRF SDK 15.3 , twi scanner to read the address . when i saw the core.h file the slave addr is given in the comment as 0x38 .

lupyuen commented 2 years ago

Hi: The I2C Address may vary. On PineTime smartwatch the I2C Address is 0x15...

https://lupyuen.github.io/articles/building-a-rust-driver-for-pinetimes-touch-controller

The code is this repo was provided by the touchscreen manufacturer. I haven't actually run the code.