AMMP demonstration using Freescale FRDM-KL25Z and Adafruit CC3000 Arduino shield
Dependencies: MMA8451Q NVIC_set_all_priorities TSI cc3000_hostdriver_mbedsocket mbed
Fork of AxedaGo-Freescale by
Diff: main.h
- Revision:
- 4:3c2e21757a9c
- Parent:
- 0:fe1445e57b7d
- Child:
- 5:c99347399fb7
--- a/main.h Tue Oct 08 14:54:06 2013 +0000 +++ b/main.h Mon Jan 13 18:50:07 2014 +0000 @@ -18,9 +18,12 @@ #define WIGO 1 #define WIFI_DIPCORTEX 2 -#define UNDEFINED 3 +//#define UNDEFINED 3 +#define WIFI_SHEILD_ADAFRUIT 3 -#define MY_BOARD WIGO + + +#define MY_BOARD WIFI_SHEILD_ADAFRUIT // use this defines in AP_SECURITY #define NONE 0 @@ -28,14 +31,15 @@ #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" +#define AP_KEY "masterchief" +#define AP_SECURITY WPA // WPA2 must be enabled for use with iPhone or Android phone hotspot! +#define SSID "Synapse" -void init(); + +#define MMA8451_I2C_ADDRESS (0x1d<<1) // accelerometer I2C address + #endif