Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: HTTPClient WebSocketClient cc3000_hostdriver_mbedsocket mbed
Fork of CC3000_demo by
Revision 16:d40dee28b02e, committed 2014-10-20
- 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;
