Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix misspelled words in Interrupt example's comment
  • Loading branch information
per1234 committed Sep 26, 2020
commit 673cfa38628aa0e45c68d9f0d3131059e59ed66c
4 changes: 2 additions & 2 deletions examples/01.Basics/Interrupt/Interrupt.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
This sample uses an interrupt service routine (ISR) named `blink` to toggle
a global state variable and then uses the built-in LED to display the value
of the cached state to the user. The work of updating the cached state happens
asychronously in the interrupt service routine.
asynchronously in the interrupt service routine.

This sample can easily be modified from behaving as a button into behaving as
a switch, by changing the interrupt mode from CHANGE to LOW. Futhermore, this
a switch, by changing the interrupt mode from CHANGE to LOW. Furthermore, this
example can be modified to update the built-in LED from inside in the ISR,
which would allow the loop function to be empty yet still allow actions and
reactions to occur.
Expand Down