Fork of DigitalOut_HelloWorld
Fork of DigitalOut_HelloWorld by
Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing
Revision 5:e17647bbb68e, committed 2015-03-27
- Comitter:
- mbedAustin
- Date:
- Fri Mar 27 21:11:22 2015 +0000
- Parent:
- 4:340f9fb00d71
- Child:
- 6:4b14e87b65e9
- Commit message:
- fixed spelling error
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Mar 27 20:13:58 2015 +0000
+++ b/main.cpp Fri Mar 27 21:11:22 2015 +0000
@@ -19,7 +19,10 @@
int main() {
int connected = myled.is_connected(); // check that myled object is initialized and connected to a pin
- printf("myleD connection stattus = %d", connected);
+ if(connected){
+ printf("myleD is initialized and connected!\n\r");
+ }
+
while(1) {
myled = 1; // set LED1 pin to high
printf("\n\r myled = %d",myled);
Jenny Plunkett
