my copy of the websocket demo
Dependencies: NVIC_set_all_priorities WebSocketClient cc3000_hostdriver_mbedsocket mbed
Fork of cc3000_websocket_demo by
Diff: main.cpp
- Revision:
- 2:398f4fa8fb4a
- Parent:
- 1:214d23448fa7
- Child:
- 3:044c6bd2d569
--- a/main.cpp Wed Oct 02 20:56:46 2013 +0200 +++ b/main.cpp Wed Oct 02 20:19:33 2013 +0000 @@ -21,14 +21,16 @@ using namespace mbed_cc3000; -Serial pc(USBTX, USBRX); tUserFS user_info; /* 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); +Serial pc(USBTX, USBRX); #elif (MY_BOARD == WIFI_DIPCORTEX) cc3000 wifi(p28, p27, p30, SPI(p21, p14, p37), PIN_INT0_IRQn); +//Serial pc(UART_TX, UART_RX); +Serial pc(p19, p20); #else #endif