Simple Demo that gets a webpage

Dependencies:   HTTPClient cc3000_hostdriver_mbedsocket mbed

Fork of EECS149_email_notifier by Antonio Iannopollo

Files at this revision

API Documentation at this revision

Comitter:
nebgnahz
Date:
Mon Oct 20 17:10:13 2014 +0000
Parent:
15:ac15ec676d87
Child:
17:97c355870263
Commit message:
simple style clean up

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Oct 20 07:00:12 2014 +0000
+++ b/main.cpp	Mon Oct 20 17:10:13 2014 +0000
@@ -27,7 +27,7 @@
 // - SPI CLK  => (pin D13)
 // plus wifi network SSID, password, security level and smart-configuration flag.
 mbed_cc3000::cc3000 wifi(D3, D5, D10, SPI(D11, D12, D13),
-                         "EECS-PSK", "Thequickbrown", WPA2, false);
+                         "SSID", "PASSWORD", WPA2, false);
 
 // create an http instance
 HTTPClient http;
@@ -41,8 +41,7 @@
 DigitalOut led_red(LED_RED);
 DigitalOut led_green(LED_GREEN);
 
-int main()
-{
+int main() {
   // by default, it's red
   led_red = 0;
   led_green = 1;