HeptaSat
Dependencies: HEPTA_SENSOR mbed HEPTA_EPS HEPTA_CDH
Revision 26:de500e7ff563, committed 2019-08-27
- Comitter:
- HeptaSatTraining2019
- Date:
- Tue Aug 27 01:18:05 2019 +0000
- Parent:
- 25:5fd40a170032
- Child:
- 27:18f71e9c26d1
- Commit message:
Changed in this revision
HEPTA_COM.lib | 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_COM.lib Tue Aug 27 01:15:05 2019 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -https://os.mbed.com/users/HeptaSatTraining2019/code/HEPTA_COM/#1838cbd7d223
--- a/main.cpp Tue Aug 27 01:15:05 2019 +0000 +++ b/main.cpp Tue Aug 27 01:18:05 2019 +0000 @@ -2,7 +2,6 @@ #include "HEPTA_EPS.h" #include "HEPTA_CDH.h" #include "HEPTA_SENSOR.h" -#include "HEPTA_COM.h" Serial pc(USBTX,USBRX); HEPTA_EPS eps(p16,p26); @@ -10,14 +9,10 @@ HEPTA_SENSOR sensor(p17, p28,p27,0xD0,0x18, p13,p14,p25,p24); -HEPTA_COM com(p9,p10); - -DigitalOut myled(LED1); int main() { - myled = 1; - wait(0.5); - myled = 0; - wait(0.5); + sensor.gps_setting(); + pc.printf("GPS Raw Data Mode\r\n"); + while(1) pc.putc(sensor.getc()); } \ No newline at end of file