File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1580,7 +1580,7 @@ void Sensors::GCJA5Init() {
15801580
15811581void Sensors::DFRobotCOInit () {
15821582 sensorAnnounce (SENSORS::SDFRCO);
1583- dfrCO = DFRobot_GAS_I2C (&Wire, 0x74 );
1583+ dfrCO = DFRobot_GAS_I2C (&Wire, 0x78 ); // Be sure that your group of i2c address is 7
15841584 if (!dfrCO.begin ()) return ;
15851585 // Mode of obtaining data: the main controller needs to request the sensor for data
15861586 dfrCO.changeAcquireMode (dfrCO.PASSIVITY );
@@ -1591,7 +1591,7 @@ void Sensors::DFRobotCOInit() {
15911591
15921592void Sensors::DFRobotNH3Init () {
15931593 sensorAnnounce (SENSORS::SDFRNH3);
1594- dfrNH3 = DFRobot_GAS_I2C (&Wire, 0x76 ); // 0x77 y 0x75 used by bme680
1594+ dfrNH3 = DFRobot_GAS_I2C (&Wire, 0x7A ); // 0x77 y 0x75 used by bme680. Be sure that your group of i2c address is 7
15951595 if (!dfrNH3.begin ()) return ;
15961596 // Mode of obtaining data: the main controller needs to request the sensor for data
15971597 dfrNH3.changeAcquireMode (dfrNH3.PASSIVITY );
You can’t perform that action at this time.
0 commit comments