Skip to content

Commit b482bc7

Browse files
committed
changed second buzzer address to 0x5B
-0x5B is shown as an example address in the comments of the changeI2C address, so it makes sense to use it here as well.
1 parent 14e3d18 commit b482bc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Example_10_Buzz_Multiple/Example_10_Buzz_Multiple.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This example shows how to control multiple buzzers.
55
66
Note, you must use the ChangeI2CAddress example to change the address of your
7-
second (or third, etc.) buzzers. Here, we are using "0x35" for the address
7+
second (or third, etc.) buzzers. Here, we are using "0x5B" for the address
88
of buzzer2.
99
1010
It turns each buzzer on and off with their own unique frequencies in a
@@ -30,7 +30,7 @@ QwiicBuzzer buzzer1;
3030
QwiicBuzzer buzzer2; // create a second buzzer
3131

3232
#define BUZZER_1_ADDRESS SFE_QWIIC_BUZZER_DEFAULT_ADDRESS // default is 0x34
33-
#define BUZZER_2_ADDRESS 0x35
33+
#define BUZZER_2_ADDRESS 0x5B
3434

3535
void setup() {
3636
Serial.begin(115200);

0 commit comments

Comments
 (0)