Difference between revisions of "Arduino Programming Fundamentals"

From Interaction Station Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
== A Scheduler ==
 
== A Scheduler ==
 
== A State Machine ==
 
== A State Machine ==
 +
 +
 +
A ‘state’ is the condition of a thing at a specific time. Something that can accomplish tasks and that utilizes states at its core is a state machine. They are also known as Finite State Machines (FSM), meaning that we know all possible states of the thing. The key to the state machine is the concept of time and history. The state of the machine is evaluated periodically. Each time it is evaluated, a new state is chosen (which could be the same state again), and the output is presented.

Revision as of 00:39, 3 December 2018

Functions

Arrays and the for loop

Beyond the delay()

A Scheduler

A State Machine

A ‘state’ is the condition of a thing at a specific time. Something that can accomplish tasks and that utilizes states at its core is a state machine. They are also known as Finite State Machines (FSM), meaning that we know all possible states of the thing. The key to the state machine is the concept of time and history. The state of the machine is evaluated periodically. Each time it is evaluated, a new state is chosen (which could be the same state again), and the output is presented.