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.
Diff: Board/Board.h
- Revision:
- 0:6ad60d78b315
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Board/Board.h Sat Sep 14 17:38:41 2013 +0000
@@ -0,0 +1,36 @@
+#ifndef BOARD_H
+#define BOARD_H
+
+
+typedef enum
+{
+ NO_LED,
+ ind1,
+ ind2,
+ ind3,
+ ind4,
+ LED5,
+ LED6,
+ LED7,
+ LED8
+} ledEnum;
+
+typedef enum
+{
+ NO_LED_IND = NO_LED,
+ CC3000_ON_IND = ind1,
+ CC3000_ASSOCIATED_IND = ind2,
+ CC3000_IP_ALLOC_IND = ind3,
+ CC3000_SERVER_INIT_IND = ind4,
+ CC3000_CLIENT_CONNECTED_IND = ind4,
+ CC3000_SENDING_DATA_IND = ind3,
+ CC3000_UNUSED1_IND = LED7,
+ CC3000_FTC_IND = LED8
+} ledNames;
+
+void turnLedOn(char ledNum);
+void turnLedOff(char ledNum);
+void toggleLed(char ledNum);
+uint8_t GetLEDStatus(void);
+
+#endif
\ No newline at end of file