Skip to content

Commit a85cc3b

Browse files
committed
updating another volume macro
1 parent da16715 commit a85cc3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Example_06_SaveSettings/Example_06_SaveSettings.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ void setup() {
6161
// Comment/Un-Comment the following "buzzer.on()" example lines to try different settings:
6262

6363
// "MOMENTARY" SETUP
64-
buzzer.on(1000, 0, 3); // frequency: 1KHz, duration: 0 (aka forever), volume: 3
64+
buzzer.on(1000, 0, SFE_QWIIC_BUZZER_VOLUME_MID); // frequency: 1KHz, duration: 0 (aka forever), volume: MID
6565

6666
// "ONE-SHOT" Setup (aka adding in a duration amount).
67-
// buzzer.on(1000, 100, 3); // frequency: 1KHz, duration: 100ms, volume: 3
67+
// buzzer.on(1000, 100, SFE_QWIIC_BUZZER_VOLUME_MID); // frequency: 1KHz, duration: 100ms, volume: MID
6868

6969
delay(1000);
7070

0 commit comments

Comments
 (0)