Skip to content

Commit d2b16b8

Browse files
committed
ex5 renamed and working
1 parent 1cb1cc7 commit d2b16b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/Example5_ChangeI2CAddress/Example5_ChangeI2CAddress.ino renamed to examples/Example_05_ChangeI2CAddress/Example_05_ChangeI2CAddress.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ void setup() {
2424
Wire.begin(); //Join I2C bus
2525

2626
//check if device will acknowledge over I2C
27-
if (buzzer.begin() == false) {
27+
if (buzzer.begin(0x5B) == false) {
2828
Serial.println("Device did not acknowledge! Running scanner.");
2929
}
3030
else{
@@ -128,4 +128,6 @@ void loop() {
128128
Serial.println("done\n");
129129

130130
delay(5000); // wait 5 seconds for next scan
131+
132+
131133
}

0 commit comments

Comments
 (0)