8000 Make formatting of Interrupt example compliant with examples_formatte… · arduino/arduino-examples@e1c89e5 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit e1c89e5

Browse files
committed
Make formatting of Interrupt example compliant with examples_formatter.conf
1 parent 7872cde commit e1c89e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/01.Basics/Interrupt/Interrupt.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
const byte interruptPin = 2;
2424
volatile byte state = LOW;
2525

26-
void blink () {
26+
void blink() {
2727
state = !state; // toggle the cached state
2828
}
2929

3030
// the setup function runs once when you press reset or power the board
31-
void setup () {
31+
void setup() {
3232
// initialize digital pin LED_BUILTIN as an output.
3333
pinMode(LED_BUILTIN, OUTPUT);
3434
// initialize digital pin as input with pull-up resistor (i.e. always HIGH, unless deliberately pulled LOW)
@@ -38,7 +38,7 @@ void setup () {
3838
}
3939

4040
// the loop function runs over and over again forever
41-
void loop () {
41+
void loop() {
4242
// update the LED to reflect the cached state updated with interrupts
4343
digitalWrite(LED_BUILTIN, state);
4444
}

0 commit comments

Comments
 (0)
0