This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

请教关于ICP命令的使用



为什么我通过以下方式读取data的数据都是0,是读取的方式有错吗?请问如何正确的使用ICP命令?谢谢


write_dpp2600_i2c(DPP2600_DEV_ADDR, 0x3A, 1, 0);

 write_dpp2600_i2c(DPP2600_DEV_ADDR, 0x38, cmd, 0);
 
 read_dpp2600_i2c(DPP2600_DEV_ADDR, 0x39, &data);