FiniteStateMachine (Sensor, Motor & Latch) Object Oriented Programming for Minesense - Junior Developer Platform position code
How to compile:
note: This code was created and compiled on Terminal on Mac and should be able to run on any linnux command line.
(Within linnux command line):
step 1: compile - ' g++ -o run FSM.cpp '
step 2: run - ' ./run '