Mbed Cloud Example Project - LPC546xx (Completed Version)
Fork of mbed-cloud-example-lpc546xx by
Diff: main.cpp
- Revision:
- 8:99d61dd3bfb9
- Parent:
- 5:e521ea1f4c22
- Child:
- 9:582d0ef3b83b
diff -r 9906c7f19aac -r 99d61dd3bfb9 main.cpp --- a/main.cpp Thu Oct 11 14:49:44 2018 +0000 +++ b/main.cpp Thu Oct 11 15:00:58 2018 +0000 @@ -35,7 +35,7 @@ SDBlockDevice sd(D11, D12, D13, D10); //MOSI, MISO, SCLK, CS FATFileSystem fs("sd"); -// To-Do: Add global pointer declaration for +// To-Do #2: Add global pointer declaration for Rate Resource static bool button_pressed = false; void button_press() { @@ -46,7 +46,7 @@ led = !led; } -// To Do: Add Cloud Client Resource Callback Functions +// To-Do #3: Add Cloud Client Resource Callback Functions @@ -104,7 +104,7 @@ } printf("Client initialized\r\n"); - // To Do: Add Mbed Cloud Client resources + // To-Do #1: Add Mbed Cloud Client resources @@ -128,7 +128,7 @@ if (button_pressed) { button_pressed = false; printf("Button Pressed %d time(s).\r\n",(++button_count)); - // To Do: Add function to set button resource value + // To-Do #4: Add function to set button resource value } }