solaESKF_EIGEN

Dependencies:   mbed LPS25HB_I2C LSM9DS1 PIDcontroller LoopTicker GPSUBX_UART_Eigen SBUS_without_mainfile MedianFilter Eigen UsaPack solaESKF_Eigen Vector3 CalibrateMagneto FastPWM

Revision:
88:be349faa1976
Parent:
87:89bbbcdb667b
Child:
90:96c2b0ed4b96
--- a/global.cpp	Wed Oct 20 01:50:52 2021 +0000
+++ b/global.cpp	Thu Oct 21 06:41:03 2021 +0000
@@ -4,14 +4,16 @@
 // var
 
 // communication
-I2C i2c(PB_9,PB_8);  // sda, scl
 UsaPack pc(USBTX, USBRX, 115200); // log - tail
 Serial sd(PG_14,PG_9);
-Serial twelite(PE_8,PE_7);
+Serial twelite(PD_1,PD_0);
 
 // io
 DigitalIn userButton(USER_BUTTON);
 SBUS sbus(PD_5, PD_6);
+I2C i2c(PB_9, PB_8);
+LSM9DS1 lsm(i2c);
+LPS lps(i2c);
 
 // control
 FastPWM servoRight(PE_9);