Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Commit

Permalink
fix compilation of sdp3x manual example
Browse files Browse the repository at this point in the history
  • Loading branch information
winkj committed Jun 15, 2018
1 parent 6e0ebba commit 525f721
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/sdp3x_manual_address/sdp3x_manual_address.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
// To configure the I2C address manually, choose one of the three calls below;
// make sure you comment out the other two, otherwise the sketch won't build!

SDP3XSensor sdp(SDP3X_I2C_ADDR_21); // Address 0x21
// SDP3XSensor sdp(SDP3X_I2C_ADDR_22); // Address 0x22
// SDP3XSensor sdp(SDP3X_I2C_ADDR_23); // Address 0x23
SDP3XSensor sdp(SDP3XSensor::SDP3X_I2C_ADDR_21); // Address 0x21
// SDP3XSensor sdp(SDP3XSensor::SDP3X_I2C_ADDR_22); // Address 0x22
// SDP3XSensor sdp(SDP3XSensor::SDP3X_I2C_ADDR_23); // Address 0x23

void setup() {
Wire.begin();
Expand Down

0 comments on commit 525f721

Please sign in to comment.