Closed duckt14 closed 3 months ago
You can connect multiple device to one I2C bus as long they don't have same I2C Address.
Please check your pin assignment so it fits to your selected ESP32 board; compilation with different ESP32 Dev Modules didn't cause any error message
Hi, I’m trying to use ENS160 with ESP32 board. I need to customise the SCL and SDA pin for I2C communication because I have already different sensors connected to the board, so I used TwoWire to setting the new I2C channel. The problem is I always get this error message:
[ 165][E][Wire.cpp:526] write(): NULL TX buffer pointer [ 165][E][Wire.cpp:526] write(): NULL TX buffer pointer [ 165][E][Wire.cpp:448] endTransmission(): NULL TX buffer pointer
The code I wrote is this:
Regards, Enrico