~

Dependencies:   4DGL-uLCD-SE SDFileSystem

Revision:
13:c14dc22c38ba
Parent:
12:a2908fdf3b66
Child:
14:2c2395937c57
--- a/main.cpp	Mon Sep 26 20:17:45 2016 +0000
+++ b/main.cpp	Mon Sep 26 21:58:59 2016 +0000
@@ -59,11 +59,11 @@
 int ax, ay;
 */
 
-/* PART 6
+/* PART 6 */
 DigitalOut myled(LED1);
-//DigitalOut Ctrl(p25); // comment this out for digital, comment below
-PwmOut Ctrl(p25);
-*/
+DigitalOut Ctrl(p25); // comment this out for digital, comment below
+//PwmOut Ctrl(p25);
+
 
 /*PART 9, SD CARD
 SDFileSystem sd(p5, p6, p7, p8, "sd");
@@ -187,17 +187,18 @@
         
         */
         
-        /* PART 6
+        /* PART 6 */
         
         // using DigitalOut
-//        Ctrl = 1;
-//        myled = 1;
-//        wait(.2);
-//        Ctrl = 0;
-//        myled = 0;
-//        wait(.2);
-//        
+        Ctrl = 1;
+        myled = 1;
+        wait(.2);
+        Ctrl = 0;
+        myled = 0;
+        wait(.2);
+     
         // using PwmOut
+        /*
         myled = 1;
 
         for (int i = 0; i < 5; i++) {