diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2014-08-13 22:04:22 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2014-08-13 22:04:22 -0700 |
commit | aa5140ccb2ba0c7ced2f89ef002a96c924caf821 (patch) | |
tree | 5b4a2b791025bd5868b87e48b00a3945e91ab0f5 /Puzzle_Box/Puzzle_Box.h | |
parent | 9d0ee2ecd0b821400240711b7e8e6f18125f57f2 (diff) |
Box is complete... I think.
Diffstat (limited to 'Puzzle_Box/Puzzle_Box.h')
-rw-r--r-- | Puzzle_Box/Puzzle_Box.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Puzzle_Box/Puzzle_Box.h b/Puzzle_Box/Puzzle_Box.h index b037048..0a0e3a4 100644 --- a/Puzzle_Box/Puzzle_Box.h +++ b/Puzzle_Box/Puzzle_Box.h @@ -14,14 +14,15 @@ void stepEyeAnimation(); void toggleEye(bool on); void doIdle(); -void displayMessage(); -void doLatLong(); -void doHeading(); -void doEastOf(); +bool displayMessage(int id); +bool doLatLong(); +bool doHeading(); +bool doEastOf(); bool doAttemptCount(); bool doUpdateDistance(); void doCheckOverrideSerial(); +void resetState(); void saveState(); void PowerOff(); float toRandomUnit(int choice, float dist); @@ -34,9 +35,6 @@ static const int DEF_ATTEMPT_MAX = 50; static const int EEPROM_OFFSET = 100; /* Program Stage Constants */ -static const int MAIN_STAGE = 1; -static const int BUTTON_STAGE = 2; - static const char MESSAGE = 3; static const char LATLONG = 4; static const char HEADING = 5; @@ -44,7 +42,6 @@ static const char EASTOF = 6; static const char OPEN = 7; static const byte STATES[] = { - 0, MESSAGE, // Daniel!? Is it you? MESSAGE, // Finally, you found me; Adventure time LATLONG, |