David Fletcher / Mbed 2 deprecated CC3000WebServer

Dependencies:   mbed

Committer:
dflet
Date:
Sat Sep 14 17:38:41 2013 +0000
Revision:
0:6ad60d78b315
Mostly working will serve the default pages index.html and config.html, but config.html is not woring at present.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dflet 0:6ad60d78b315 1
dflet 0:6ad60d78b315 2 #include "mbed.h"
dflet 0:6ad60d78b315 3 #include "DigitalClass.h"
dflet 0:6ad60d78b315 4
dflet 0:6ad60d78b315 5
dflet 0:6ad60d78b315 6 DigitalClass::DigitalClass(PinName Pin_IRQ, PinName Pin_EN) : WLAN_IRQ(Pin_IRQ), WLAN_EN(Pin_EN)
dflet 0:6ad60d78b315 7 {
dflet 0:6ad60d78b315 8 WLAN_EN = 0;
dflet 0:6ad60d78b315 9
dflet 0:6ad60d78b315 10 // This delay is needed. I guess the CC3000 needs time to do some house keeping
dflet 0:6ad60d78b315 11 // as the pin is at ~+2 volts before going low then high.
dflet 0:6ad60d78b315 12
dflet 0:6ad60d78b315 13 wait_ms(10);
dflet 0:6ad60d78b315 14
dflet 0:6ad60d78b315 15
dflet 0:6ad60d78b315 16 //WLAN_IRQ(p9) p0.0 interrupt pin CC3000 j5 pin 8
dflet 0:6ad60d78b315 17 //WLAN_EN(p10) power enable CC3000 j4 pin 8
dflet 0:6ad60d78b315 18 }
dflet 0:6ad60d78b315 19