Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of blink_kl46z_states_v2 by
Diff: main.cpp
- Revision:
- 7:f6123326a434
- Parent:
- 6:710e18c552f5
--- a/main.cpp Sun Sep 14 23:45:39 2014 +0000
+++ b/main.cpp Sun Oct 04 16:42:47 2015 +0000
@@ -2,7 +2,7 @@
#include "SLCD.h"
-// An State Machine solution to HW 4.1 Q3
+// AState Machine
// using wait() for high and low limits.
//#define PRINTDEBUG
#define PROGNAME "blink_kl46z_states v2\n\r"
@@ -19,7 +19,6 @@
#define HILIMIT 0.85
#define ONTIME 1.0
-
enum blinkStates {IDLESTATE, NEWBLINK, LOWLITE, HILITE}; // define the states
char logicalString [NUMSTATES][LCDLEN] = {LEDFMESS, LEDTMESS};
