Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite1c89e5

Browse files
committed
Make formatting of Interrupt example compliant with examples_formatter.conf
1 parent7872cde commite1c89e5

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-
voidblink() {
26+
voidblink() {
2727
state = !state;// toggle the cached state
2828
}
2929

3030
// the setup function runs once when you press reset or power the board
31-
voidsetup() {
31+
voidsetup() {
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-
voidloop() {
41+
voidloop() {
4242
// update the LED to reflect the cached state updated with interrupts
4343
digitalWrite(LED_BUILTIN, state);
4444
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp