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: MODSERIALhacked Convert SLCD mbed-src
Diff: main.cpp
- Revision:
- 3:60310be5de98
- Parent:
- 2:a4db8ee941d2
- Child:
- 4:9930547c1cfa
--- a/main.cpp Thu Dec 11 01:53:01 2014 +0000
+++ b/main.cpp Thu Dec 11 03:05:52 2014 +0000
@@ -20,14 +20,14 @@
// set the pulse high for 100ms
pulse_value = true;
myled = pulse_value; // toggle a led
- pc.printf("Setting pulse to: %d \r\n", pulse_value);
+ pc.printf("%d \r\n", pulse_value);
lcd.display(1);
wait_ms(100.0f);
// set it low again for the remainder of the second
pulse_value = false;
myled = pulse_value; // toggle a led
- pc.printf("Setting pulse to: %d \r\n", pulse_value);
+ pc.printf("%d \r\n", pulse_value);
lcd.display(0);
wait_ms(900.0f);
