Skip to content

Commit 6a7a180

Browse files
committed
Ex1 and ex2 working
1 parent e0a0fd1 commit 6a7a180

File tree

8 files changed

+58
-374
lines changed

8 files changed

+58
-374
lines changed

examples/Example2_LightWhenPressed/Example2_LightWhenPressed.ino

Lines changed: 0 additions & 50 deletions
This file was deleted.

examples/Example3_PulseWhenPressed/Example3_PulseWhenPressed.ino

Lines changed: 0 additions & 51 deletions
This file was deleted.

examples/Example4_QueueUsage/Example4_QueueUsage.ino

Lines changed: 0 additions & 81 deletions
This file was deleted.

examples/Example6_WireSettings/Example6_WireSettings.ino

Lines changed: 0 additions & 44 deletions
This file was deleted.

examples/Example7_2Buttons/Example7_2Buttons.ino

Lines changed: 0 additions & 61 deletions
This file was deleted.

examples/Example8_ExtInterrupt/Example8_ExtInterrupt.ino

Lines changed: 0 additions & 71 deletions
This file was deleted.

examples/Example_01_Buzz/Example_01_Buzz.ino

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,14 @@ void setup() {
3434
while (1);
3535
}
3636
Serial.println("Buzzer acknowledged.");
37+
}
3738

38-
buzzer.on(2730);
39-
40-
delay(100);
41-
42-
buzzer.off();
43-
44-
delay(100);
45-
46-
buzzer.on(1000);
39+
void loop() {
40+
buzzer.on();
4741

48-
delay(100);
42+
delay(1000);
4943

5044
buzzer.off();
5145

52-
delay(100);
53-
54-
}
55-
56-
void loop() {
57-
46+
delay(1000);
5847
}

0 commit comments

Comments
 (0)