team 2 section 5 (MbedHead) / Mbed 2 deprecated DAC_module

Dependencies:   TextLCD mbed dacmodule

Fork of DAC_module by n s

Files at this revision

API Documentation at this revision

Comitter:
psuMbedHead
Date:
Fri Nov 04 16:55:07 2016 +0000
Parent:
1:af51ee0c367d
Commit message:
first commit

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mcp4725.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Nov 01 18:25:30 2016 +0000
+++ b/main.cpp	Fri Nov 04 16:55:07 2016 +0000
@@ -30,15 +30,15 @@
                 lcd.setAddress(0, 0); //place cursor at origin
                 lcd.printf("Waveform: off\n"); //print to lcd that it is in off mode
                 if(dots == 0){
-                    lcd.printf("waiting");
+                    lcd.printf("waiting   ");
                     dots++;
                     }
                 else if(dots == 1){
-                    lcd.printf("waiting.");
+                    lcd.printf("waiting.  ");
                     dots++;
                     }
                 else if(dots == 2){
-                    lcd.printf("waiting..");
+                    lcd.printf("waiting.. ");
                     dots++;
                     }
                 else if(dots == 3){
@@ -48,7 +48,7 @@
                 else{
                     lcd.printf("ERROR CASE"); //print to show error
                     }
-                wait_ms(100); //lower frequency loop to cycle dots at 0.1 second interval
+                wait_ms(1000); //lower frequency loop to cycle dots at 0.1 second interval
             }
         int i = 0; //resets counter when transitioning from stop to start
         while(RUN == 1) //waveform is being generated
--- a/mcp4725.lib	Tue Nov 01 18:25:30 2016 +0000
+++ b/mcp4725.lib	Fri Nov 04 16:55:07 2016 +0000
@@ -1,1 +1,1 @@
-mcp4725#035059d68956
+https://developer.mbed.org/teams/team-2-section-5-MbedHead/code/dacmodule/#035059d68956