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 HEPTA_CDH_lite HEPTA_COM_lite HEPTA_SENSOR_lite HEPTA_EPS_lite
Revision 5:1f73ab69f023, committed 2021-08-25
- Comitter:
- heptasat2021
- Date:
- Wed Aug 25 06:31:05 2021 +0000
- Parent:
- 4:52de4bb3146f
- Commit message:
- For Hepta-Sat Lite
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Aug 24 02:55:33 2021 +0000
+++ b/main.cpp Wed Aug 25 06:31:05 2021 +0000
@@ -77,26 +77,13 @@
}
fclose(fp);
}else if(rcmd == 'c'){
- sat.printf("rcmd=%c,cmdflag=%d\r\n",rcmd,cmdflag);
- com.printf("Hepta-Sat Lite Uplink Ok\r\n");
- float ax,ay,az;
- for(int i = 0; i < 10; i++) {
- sensor.sen_acc(&ax,&ay,&az);
- com.printf("%f,%f,%f\r\n",ax,ay,az);
- wait_ms(1000);
- }
+ //Please insert your answer
+
}else if(rcmd == 'd'){
- sat.printf("rcmd=%c,cmdflag=%d\r\n",rcmd,cmdflag);
- com.printf("Hepta-Sat Lite Uplink Ok\r\n");
- float gx,gy,gz;
- for(int i = 0; i < 10; i++) {
- sensor.sen_gyro(&gx,&gy,&gz);
- com.printf("%f,%f,%f\r\n",gx,gy,gz);
- wait_ms(1000);
- }
+ //Please insert your answer
+
}else if(rcmd == 'e'){
-
-
+ //Please insert your answer
}
com.initialize(); //initializing