Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: TextLCD mbed dacmodule
Fork of DAC_module by
Diff: main.cpp
- Revision:
- 2:ee4fdb7b9859
- Parent:
- 1:af51ee0c367d
--- 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
