Fork of KL46Z Wifi version. Moved to KL25Z as umbrella stand now requires 2 SPIs, thus requires 46z.
Dependencies: WIZnet_Library_ASE mbed nanoservice_client_1_12
Fork of Trenton_Doormat_FRDM-KL25Z_ETH by
Diff: main.cpp
- Revision:
- 14:5f84f9ae168e
- Parent:
- 13:4f08ef840b16
- Child:
- 15:59f4cee0da79
--- a/main.cpp Wed Oct 16 21:15:29 2013 +0000 +++ b/main.cpp Thu Nov 07 20:30:27 2013 +0000 @@ -28,11 +28,14 @@ /* cc3000 module declaration specific for user's board. Check also init() */ #if (MY_BOARD == WIGO) -cc3000 wifi(PTA16, PTA13, PTD0, SPI(PTD2, PTD3, PTC5), PORTA_IRQn); +cc3000 wifi(PTA16, PTA13, PTD0, SPI(PTD2, PTD3, PTC5)); Serial pc(USBTX, USBRX); #elif (MY_BOARD == WIFI_DIPCORTEX) -cc3000 wifi(p28, p27, p30, SPI(p21, p14, p37), PIN_INT0_IRQn); +cc3000 wifi(p28, p27, p30, SPI(p21, p14, p37)); Serial pc(UART_TX, UART_RX); +#elif (MY_BOARD == MBED_BOARD_EXAMPLE) +cc3000 wifi(p9, p10, p8, SPI(p5, p6, p7)); +Serial pc(USBTX, USBRX); #else #endif