Cube Mini Solution
Dependencies: mbed QEI MPU6050 BLE_API nRF51822 MCP4725 eMPL_MPU6050
Diff: main.cpp
- Revision:
- 9:43e5e3430621
- Parent:
- 8:71babe904b92
- Child:
- 10:4e9899cef12c
--- a/main.cpp Tue May 12 19:23:59 2020 +0000 +++ b/main.cpp Wed May 13 10:46:05 2020 +0000 @@ -142,6 +142,8 @@ // -------------- MAIN LOOP ---------------- int main() { + VoltageOut.write(CurrentToVoltage(Sys_input_Amps)); + wait(20); pc.baud(115200); Pin_3V3.write(1); @@ -183,7 +185,7 @@ C1.reset(0.0f); pc.printf("Hello World!\n\r"); - wait(1); + //wait(15); Loop.start(); ControllerLoopTimer.attach(&updateControllers, Ts);