rev20211120

Dependencies:   HEPTA_SENSOR mbed HEPTA_EPS HEPTA_COM HEPTA_CDH

Revision:
21:92c25e853b87
Parent:
13:a1fa75a002f6
Child:
24:3659e0c223c8
--- a/main.cpp	Mon Aug 19 05:08:19 2019 +0000
+++ b/main.cpp	Wed Aug 21 11:07:11 2019 +0000
@@ -1,18 +1,19 @@
 #include "mbed.h"
-#include "SDFileSystem.h"
-#include "HeptaXbee.h"
-#include "HeptaCamera_GPS.h"
-#include "Hepta9axis.h"
-#include "HeptaTemp.h"
-#include "HeptaBattery.h"
+#include"HEPTA_EPS.h"
+#include"HEPTA_CDH.h"
+#include"HEPTA_SENSOR.h"
+#include"HEPTA_COM.h"
 
 Serial pc(USBTX,USBRX);
-SDFileSystem sd(p5, p6, p7, p8, "sd");
-HeptaXbee xbee(p9,p10);
-HeptaCamera_GPS cam_gps(p13, p14,p25,p24);
-Hepta9axis n_axis(p28,p27,0xD0,0x18);
-HeptaTemp temp(p17);
-HeptaBattery battery(p16,p26);
+HEPTA_EPS eps(p16,p26);
+HEPTA_CDH cdh(p5, p6, p7, p8, "sd");
+/*HEPTA_SENSOR sensor(p13, p14,p25,p24, 
+                    p28,p27,0xD0,0x18,
+                    p17);*/
+HEPTA_SENSOR sensor(p17, 
+                    p28,p27,0xD0,0x18,
+                    p13, p14,p25,p24);
+HEPTA_COM com(p9,p10);
 
 DigitalOut myled(LED1);