Lab5-03_create_satcode_step6_lite_Q

Dependencies:   mbed HEPTA_CDH_lite HEPTA_COM_lite HEPTA_SENSOR_lite HEPTA_EPS_lite

Files at this revision

API Documentation at this revision

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
diff -r 52de4bb3146f -r 1f73ab69f023 main.cpp
--- 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