Skip to content

Commit 0c4797d

Browse files
committed
Re-enable I2C scan, it works without killing the OLED screen.
1 parent ec8fe6c commit 0c4797d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/Combined_Demo/Combined_Demo.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ void i2c_scan() {
2525
nDevices = 0;
2626
for(address = 1; address < 127; address++ )
2727
{
28-
//Serial.println("I2C scan");
2928
// The i2c_scanner uses the return value of
3029
// the Write.endTransmisstion to see if
3130
// a device did acknowledge to the address.
@@ -59,7 +58,7 @@ void i2c_scan() {
5958
void setup() {
6059
Serial.begin(115200);
6160
// Running scan stops the OLED from working
62-
//i2c_scan();
61+
i2c_scan();
6362

6463
pinMode(mic , INPUT);
6564
pinMode(light , INPUT);

0 commit comments

Comments
 (0)