Hello
I need to use two boards of qwiic mcp9600 in a arduino uno.
What is the modifications in the main code…
Obs:about the hardware, i know about the resistors to set the address
Thank you
Hello
I need to use two boards of qwiic mcp9600 in a arduino uno.
What is the modifications in the main code…
Obs:about the hardware, i know about the resistors to set the address
Thank you
Hi markes51,
Unfortunately, we cannot help with custom code and the MCP9600 is a SparkX product so we cannot assist with questions about it beyond basic troubleshooting to determine functionality. That said, all you need to do is create two instances of the sensor and specifying their I2C address in each definition and then call them individually (eg. sensor1 and sensor2).
For example:
MCP9600 tempSensor1(I2C_Address#1);
MCP9600 tempSensor2(I2C_Address#2);
I hope this helps.