2019-12-10 07:44 PM
2019-12-12 06:46 AM
https://omronfs.omron.com/en_US/ecb/products/pdf/en_D6T_users_manual.pdf
Command 0x4D should allow you to pull 2051 bytes
#define SLAVE_ADDR 0x0A // 7-bit, right aligned
uint8_t data[2051];
HAL_StatusTypeDef status = HAL_I2C_Mem_Read(&I2CHandle, (SLAVE_ADDR << 1), 0x4D, 1, data, sizeof(data), 500);
2019-12-12 08:04 PM
uint8_t data =0x4C;
uint8_t Rxbuffer[35];
//temp1=8;
HAL_I2C_Master_Transmit(&hi2c1,0x14,&data,1,10);
HAL_I2C_Master_Receive(&hi2c1,0x14,(uint8_t*)Rxbuffer,35,35);
HAL_Delay(50);
this is the code i wrote to communicate with d6t-44l so in this code if i put rx nuffer size to 2051 is there is any problem ?
2019-12-12 08:19 PM
Manual says you need to use a different command for the 32x32 array
Look YOU have this device, you're going to need to try/experiment with this yourself.