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 MatrixMath LPS25HB_I2C LSM9DS1 Matrix2 PIDcontroller LoopTicker SBUS_without_mainfile UsaPack solaESKF_wind Vector3 CalibrateMagneto FastPWM
Diff: datatransfer.cpp
- Revision:
- 124:59efdd87c211
- Parent:
- 123:0a74e696f7a6
- Child:
- 127:839ae718713b
diff -r 0a74e696f7a6 -r 59efdd87c211 datatransfer.cpp
--- a/datatransfer.cpp Mon Apr 11 09:39:30 2022 +0000
+++ b/datatransfer.cpp Tue Apr 12 08:41:13 2022 +0000
@@ -52,6 +52,8 @@
{
vp.ap_flag = 0;
}
+ getElectricVal();
+ //pc.printf("%f %f\r\n", voltage, current);
vp.voltage = voltage;
vp.current = current;