HeptaSat
Dependencies: HEPTA_COM HEPTA_CDH HEPTA_EPS HEPTA_SENSOR mbed
Revision 28:952078c4ea2d, committed 23 months ago
- Comitter:
- RyusukeIwata
- Date:
- Mon Nov 07 15:10:40 2022 +0000
- Parent:
- 27:e587c17f53fe
- Commit message:
- rawserial;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Jul 22 02:30:28 2020 +0000 +++ b/main.cpp Mon Nov 07 15:10:40 2022 +0000 @@ -2,7 +2,7 @@ #include "HEPTA_CDH.h" #include "HEPTA_EPS.h" DigitalOut cond[]={LED1,LED2,LED3,LED4}; -Serial gs(USBTX,USBRX); // for ground station +RawSerial gs(USBTX,USBRX,9600); // for ground station HEPTA_CDH cdh(p5, p6, p7, p8, "sd"); HEPTA_EPS eps(p16,p26); int rcmd = 0,cmdflag = 0; //command variable @@ -27,7 +27,6 @@ } 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