hepta
Dependencies: HEPTA_CDH HEPTA_COM HEPTA_EPS HEPTA_SENSOR mbed
Revision 33:000a098179f4, committed 23 months ago
- Comitter:
- RyusukeIwata
- Date:
- Mon Nov 14 13:02:02 2022 +0000
- Parent:
- 32:c22cbcfb4635
- Commit message:
- changed to rawserial
Changed in this revision
| HEPTA_COM.lib | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/HEPTA_COM.lib Fri Aug 19 04:35:30 2022 +0000 +++ b/HEPTA_COM.lib Mon Nov 14 13:02:02 2022 +0000 @@ -1,1 +1,1 @@ -https://os.mbed.com/users/HeptaSatTraining2019/code/HEPTA_COM/#1838cbd7d223 +https://os.mbed.com/teams/HEPTA-Sat-Training-2022/code/HEPTA_COM/#ec25d3d1d2ab
--- a/main.cpp Fri Aug 19 04:35:30 2022 +0000
+++ b/main.cpp Mon Nov 14 13:02:02 2022 +0000
@@ -10,14 +10,13 @@
p13, p14,p25,p24);
HEPTA_COM com(p9,p10);
DigitalOut condition(LED1);
-Serial sat(USBTX,USBRX,9600);
+RawSerial sat(USBTX,USBRX,9600);
Timer sattime;
int rcmd = 0,cmdflag = 0; //command variable
int main() {
sat.printf("From Sat : Nominal Operation\r\n");
com.printf("From Sat : Nominal Operation\r\n");
- com.baud(9600);
int flag = 0; //condition flag
float batvol, temp; //voltage, temperature
int rcmd=0,cmdflag=0; //command variable