Example program for MTS WiFi Shield. Test that you can connect to a network.
Dependencies: SocketModem mbed
Diff: main.cpp
- Revision:
- 2:5f1645f60a3b
- Parent:
- 1:b2a530079150
- Child:
- 4:6daf448c5b1c
--- a/main.cpp Fri Jan 03 05:03:38 2014 +0000 +++ b/main.cpp Fri Jan 03 05:05:52 2014 +0000 @@ -5,10 +5,8 @@ int main() { -// std::string ssid = "your network name"; -// std::string securityKey = "your pass phrase"; - std::string ssid = "McGroves"; - std::string securityKey = "purnell44"; + std::string ssid = "your network name"; + std::string securityKey = "your pass phrase"; Wifi::SecurityType securityType = Wifi::WPA2; //Wait for wifi module to boot up