User Tools

Site Tools


rtes:topics:arduino:states

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rtes:topics:arduino:states [2017/10/18 10:49] adminrtes:topics:arduino:states [2018/10/25 06:58] (current) – [UML State Machine] admin
Line 8: Line 8:
  
 Additional Information:  Additional Information: 
 +  * :!: https://en.wikipedia.org/wiki/UML_state_machine
   * Finite State Machine: https://en.wikipedia.org/wiki/Finite-state_machine   * Finite State Machine: https://en.wikipedia.org/wiki/Finite-state_machine
   * State Diagram: https://en.wikipedia.org/wiki/State_diagram   * State Diagram: https://en.wikipedia.org/wiki/State_diagram
Line 14: Line 15:
  
  
-===== Links =====+===== Presentation ===== 
 + 
 +  *  
 + 
 +===== Youtube ===== 
 + 
 +  * Dũng Trần Đăng: [[https://www.youtube.com/watch?v=A_W8scZTM9Y&t=398s|Building a State Machine to Multitask with Arduino!]] 
 +  * ItKindaWorks: [[https://www.youtube.com/watch?v=zhWV_D_9OCY|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. 
 + 
 +Print the current value of //valRange// to the terminal, but only, if the value changes. 
 + 
 +  
  
-  * Dũng Trần Đăng: [[https://www.youtube.com/watch?v=A_W8scZTM9Y&t=398s|Building a State Machine to Multitask with Arduino!]] (youtube) 
  
rtes/topics/arduino/states.1508323799.txt.gz · Last modified: 2017/10/18 10:49 by admin