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
Diff: main.cpp
- Revision:
- 1:b86370871528
- Parent:
- 0:a0e5d6f42ee8
--- a/main.cpp Thu Jul 02 08:50:45 2020 +0000
+++ b/main.cpp Mon Nov 07 14:03:27 2022 +0000
@@ -1,10 +1,9 @@
#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 main() {
- gs.baud(9600);
gs.printf("From Sat : Operation Start...\r\n");
int flag = 0; // condition
float sattime=0.0,btvol,temp; //Voltage, Temerature