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: mbed
Revision 1:ac7b6fd00c0f, committed 2022-11-07
- Comitter:
- RyusukeIwata
- Date:
- Mon Nov 07 14:09:58 2022 +0000
- Parent:
- 0:6ea3da70c580
- Commit message:
- change to raw
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 6ea3da70c580 -r ac7b6fd00c0f main.cpp
--- a/main.cpp Thu Jul 02 08:53:03 2020 +0000
+++ b/main.cpp Mon Nov 07 14:09:58 2022 +0000
@@ -1,7 +1,7 @@
#include "mbed.h"
DigitalOut cond[]={LED1,LED2,LED3,LED4};
-Serial gs(USBTX,USBRX); // for ground station
+RawSerial gs(USBTX,USBRX,9600); // for ground station
int rcmd = 0,cmdflag = 0; //command variable
//getting command and flag
@@ -24,7 +24,7 @@
}
int main() {
- gs.baud(9600);
+
gs.printf("From Sat : Operation Start...\r\n");
int flag = 0; // condition
float sattime=0.0,btvol,temp; //Voltage, Temerature