Lab4-03_create_satcode_step5_lite

Dependencies:   mbed HEPTA_CDH_lite HEPTA_SENSOR_lite HEPTA_EPS_lite

Revision:
3:41cb41ed1fa3
Parent:
2:197079c5867f
diff -r 197079c5867f -r 41cb41ed1fa3 main.cpp
--- a/main.cpp	Fri Aug 20 12:34:39 2021 +0000
+++ b/main.cpp	Tue Aug 24 02:40:40 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;