Initial version
Fork of Task136 by
Diff: main.cpp
- Revision:
- 3:c28e88869b5a
- Parent:
- 2:12fb933ccc6d
--- a/main.cpp Wed Sep 11 13:46:00 2019 +0000
+++ b/main.cpp Wed Sep 11 14:19:45 2019 +0000
@@ -2,10 +2,6 @@
Serial pc(SERIAL_TX, SERIAL_RX);
-DigitalOut greenLed(LED1,0);
-DigitalOut blueLed(LED2,0);
-DigitalOut redLed(LED3,0);
-
int main() {
char nameString[30];
int age;
@@ -16,9 +12,6 @@
pc.printf("You are %d years old\n\r", age);
//Loop forever
- redLed = 1;
- blueLed = 1;
- greenLed = 1;
while(1);
}
