Lab4-03_create_satcode_step5_lite_Q

Dependencies:   mbed HEPTA_CDH_lite HEPTA_SENSOR_lite HEPTA_EPS_lite

Revision:
4:1befb42ebf34
Parent:
3:98c45e812ac6
diff -r 98c45e812ac6 -r 1befb42ebf34 main.cpp
--- a/main.cpp	Mon Aug 23 01:42:23 2021 +0000
+++ b/main.cpp	Tue Aug 24 02:42:24 2021 +0000
@@ -37,6 +37,7 @@
     sattime.start();
     receive(rcmd,cmdflag); //interrupting
     eps.turn_on_regulator();//turn on 3.3V conveter
+    sensor.setup();
     for(int i=0;i<50;i++){
         //satellite condition led
         condition = !condition;