rtes:topics:arduino:states
This is an old revision of the document!
Table of Contents
UML State Machine
Source: https://en.wikipedia.org/wiki/UML_state_machine
Additional Information:
- Finite State Machine: https://en.wikipedia.org/wiki/Finite-state_machine
- State Diagram: https://en.wikipedia.org/wiki/State_diagram
Youtube
- Dũng Trần Đăng: Building a State Machine to Multitask with Arduino!
- ItKindaWorks: How to multi-task on an Arduino
Exercise
1. Bank Safe
Step
Connect a potentiometer to A0. Use the function valRange = map(…) to map the raw potentiometer values to the integer numbers 0..9 . The variable varRange can acquire these 10 different values.
rtes/topics/arduino/states.1508848771.txt.gz · Last modified: 2017/10/24 12:39 by admin