TI's CC3100. A test demo with very little testing done!

Dependencies:   mbed

Fork of cc3100_Test_Demo2 by 高 杨

Revision:
9:b8da46b97970
Parent:
8:bb9cccbe84d7
--- a/main.cpp	Sat Jul 22 05:04:14 2017 +0000
+++ b/main.cpp	Sun Jul 30 06:32:08 2017 +0000
@@ -73,8 +73,8 @@
 cc3100 _cc3100(PA_9, PC_7, PB_6, SPI(PA_7, PA_6, PA_5));//nucleoF103  irq, nHib, cs, mosi, miso, sck
 Serial pc(SERIAL_TX, SERIAL_RX);
 #elif (THIS_BOARD == K64F)
-cc3100 _cc3100(PTC4, PTC3, PTD0, SPI(PTD2, PTD3, PTD1));//Seeed_Arch_Max  irq, nHib, cs, mosi, miso, sck
-Serial pc(USBTX, USBRX);
+cc3100 _cc3100(PTD5, PTD4, PTD0, SPI(PTD2, PTD3, PTD1));//K64  irq, nHib, cs, mosi, miso, sck
+Serial pc(USBTX,USBRX);
 #else
 
 
@@ -86,7 +86,7 @@
  * GLOBAL VARIABLES -- Start
  */
  //ap 1 STATION 0
-int32_t demo = 0;
+int32_t demo =1;
 
 /*
  * GLOBAL VARIABLES -- End
@@ -109,10 +109,11 @@
  * Application's entry point
  */
   
- 
+ DigitalOut led(PTA2);
 int main(void) {
-
-    pc.baud(115200);
+   led=0;
+   wait(5);
+   led=1;
 
     int32_t retVal = -1;