Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed QEI MPU6050_2 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);