add smooth blinky example
This commit is contained in:
@@ -63,3 +63,7 @@ If the button is pressed, `buttonState` will be `0` and new state will be `1`. H
|
||||
Small delay is added to mitigate switch bouncing, as explained in [Circuit Basics blog on switch de-bouncing](https://www.circuitbasics.com/how-to-use-switch-debouncing-on-the-arduino/).
|
||||
|
||||
- insert gif of fan toggling.
|
||||
|
||||
## EfficientToggle
|
||||
|
||||
This example reads the changes in digital states using the interrupt model. Above examples use the polling method which constantly checks the state of the pin. Interrupt only mode only triggers a particular code to run only if a particular state is observed.
|
||||
|
||||
Reference in New Issue
Block a user