Lab5-03_create_satcode_step6_lite

Dependencies:   mbed HEPTA_CDH_lite HEPTA_COM_lite HEPTA_SENSOR_lite HEPTA_EPS_lite

Revision:
4:52de4bb3146f
Parent:
3:e5ae22e02335
--- a/main.cpp	Tue Aug 17 11:07:04 2021 +0000
+++ b/main.cpp	Tue Aug 24 02:55:33 2021 +0000
@@ -18,7 +18,8 @@
     float batvol, temp; //voltage, temperature 
     int rcmd=0,cmdflag=0;  //command variable
     sattime.start();
-    eps.turn_on_regulator();//turn on 3.3V conveter    
+    eps.turn_on_regulator();//turn on 3.3V conveter
+    sensor.setup();  
     for(int i=0;i<50;i++){
         com.xbee_receive(&rcmd,&cmdflag);