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.
Diff: main.cpp
- Revision:
- 2:76f6a32f9404
- Parent:
- 1:3d4042d58038
- Child:
- 3:52396b1b5867
--- a/main.cpp Tue Dec 15 07:21:08 2020 +0000
+++ b/main.cpp Tue Dec 15 20:45:56 2020 +0000
@@ -157,7 +157,9 @@
while(1) {
int timer = 0;
int bb = button;
+ bool deploy = false;
while(!bb){
+ deploy = true;
led_button = 1;
if(timer == 0){
lcd_setCursor(0,0);
@@ -201,6 +203,13 @@
timer++;
bb = button;
}
+ if(deploy){
+ lcd_setCursor(0,0);
+ lcd_printStr(" ");
+ lcd_setCursor(0,1);
+ lcd_printStr(" ");
+ contrast = 35;
+ }
led_button = 0;
//buf[0] = '0';
while(xbee.readable()==0) {