First laboratory uses each of the five routines with your modifications. These routines illustrate digital output, PWM output, and Analog input and output.

Revision:
29:0b58d21e87d6
Parent:
22:af9dcf379926
Child:
66:0a43d8aeeb76
diff -r 239239e33d92 -r 0b58d21e87d6 main.cpp
--- a/main.cpp	Tue Feb 28 13:30:04 2017 +0000
+++ b/main.cpp	Sun Mar 05 20:30:02 2017 +0000
@@ -3,7 +3,6 @@
 DigitalOut led1(LED1);
 
 // main() runs in its own thread in the OS
-// (note the calls to wait below for delays)
 int main() {
     while (true) {
         led1 = !led1;