File tree 1 file changed +2
-2
lines changed
examples/01.Basics/Interrupt
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5
5
This sample uses an interrupt service routine (ISR) named `blink` to toggle
6
6
a global state variable and then uses the built-in LED to display the value
7
7
of the cached state to the user. The work of updating the cached state happens
8
- asychronously in the interrupt service routine.
8
+ asynchronously in the interrupt service routine.
9
9
10
10
This sample can easily be modified from behaving as a button into behaving as
11
- a switch, by changing the interrupt mode from CHANGE to LOW. Futhermore , this
11
+ a switch, by changing the interrupt mode from CHANGE to LOW. Furthermore , this
12
12
example can be modified to update the built-in LED from inside in the ISR,
13
13
which would allow the loop function to be empty yet still allow actions and
14
14
reactions to occur.
You can’t perform that action at this time.
0 commit comments