Simple demo for UC Berkeley EECS 149/249. The KL25Z connects to internet through the CC3000 breakout board and requests a text file, changing color of the onboard LEDs based on the read content
Dependencies: HTTPClient cc3000_hostdriver_mbedsocket mbed
Fork of cc3000_http_client_demo by
Diff: main.h
- Revision:
- 4:b61a6b6190be
- Parent:
- 0:fe1445e57b7d
- Child:
- 7:47cd0d3d5e4d
--- a/main.h Tue Oct 08 14:54:06 2013 +0000 +++ b/main.h Wed Nov 06 17:25:54 2013 +0000 @@ -16,26 +16,13 @@ #ifndef MAIN_H #define MAIN_H -#define WIGO 1 -#define WIFI_DIPCORTEX 2 -#define UNDEFINED 3 +#define WIGO 1 +#define WIFI_DIPCORTEX 2 +#define MBED_BOARD_EXAMPLE 3 +#define UNDEFINED 4 #define MY_BOARD WIGO -// use this defines in AP_SECURITY -#define NONE 0 -#define WEP 1 -#define WPA 2 -#define WPA2 3 - -// use smart config -#define USE_SMART_CONFIG 0 - - // Default SSID Settings -#define AP_KEY "test" -#define AP_SECURITY WPA2 // WPA2 must be enabled for use with iPhone or Android phone hotspot! -#define SSID "test" - void init(); #endif