Lab5-03_create_satcode_step6_lite
Dependencies: mbed HEPTA_CDH_lite HEPTA_COM_lite HEPTA_SENSOR_lite HEPTA_EPS_lite
Revision 4:52de4bb3146f, committed 2021-08-24
- 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 |
diff -r e5ae22e02335 -r 52de4bb3146f HEPTA_SENSOR_lite.lib --- 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
diff -r e5ae22e02335 -r 52de4bb3146f main.cpp --- 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);