Lab5-03_create_satcode_step6_lite

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:
Tue Aug 24 02:55:33 2021 +0000
Parent:
3:e5ae22e02335
Commit message:
For Hepta-Sat Lite

Changed in this revision

HEPTA_SENSOR_lite.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/HEPTA_SENSOR_lite.lib	Tue Aug 17 11:07:04 2021 +0000
+++ b/HEPTA_SENSOR_lite.lib	Tue Aug 24 02:55:33 2021 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/heptasat2021/code/HEPTA_SENSOR_lite/#82c6d3329af2
+https://os.mbed.com/users/heptasat2021/code/HEPTA_SENSOR_lite/#258d873c0246
--- 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);