Skip to content

onewithhammer/StateMachineInput

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

StateMachineInput

Keypad Input Validation Using State Machine Programming on Arduino.

This code is meant to demostrate a powerful programming/logic technique.

If you aren't familiar with or haven't used state machine logic in programming, it is the easiest way to to break complex problems into manageable states and state transitions especially for handling serial input.

If you have an project that accepts commands using a 16 button keypad and want to perform validation on the commands as each character is typed.

It can be any project that accepts and processes characters one at a time (serial or keypad).

Additional Information

See http://statemachineprogramming.blogspot.com/ for the original article and full details about the code and project.

Project Directory Structure

  • StateMachineInput * README.md - Readme File * source
    • StateMachineInput.c - Contains a copy of the source code file from IDE. * StateMachineInput.ino - Arduino IDE file

About

Keypad Input Validation Using State Machine Programming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages