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 MODSERIAL FATFileSystem
Diff: System/StaticDefs.cpp
- Revision:
- 53:c0586fe62b01
- Parent:
- 52:f207567d3ea4
- Child:
- 54:d4990fb68404
diff -r f207567d3ea4 -r c0586fe62b01 System/StaticDefs.cpp
--- a/System/StaticDefs.cpp Wed Jun 06 19:18:47 2018 +0000
+++ b/System/StaticDefs.cpp Thu Jun 07 13:02:08 2018 +0000
@@ -50,13 +50,13 @@
return adc;
}
-LinearActuator & bce() {
- static LinearActuator bce(0.01, p22, p15, p16, p17, 0); //interval , pwm, dir, reset, limit switch, adc channel
+LinearActuator & bce() { // pwm,dir,res,swt
+ static LinearActuator bce(0.01,p22,p15,p16,p17,0); //interval , pwm, dir, reset, limit switch, adc channel (confirmed)
return bce;
}
-LinearActuator & batt() {
- static LinearActuator batt(0.01, p21, P0_29, P0_30, p18, 1); //interval , pwm, dir, reset, limit switchm, adc channel
+LinearActuator & batt() { // pwm,dir,res,swt
+ static LinearActuator batt(0.01,p21,p20,p19,p18,1); //interval , pwm, dir, reset, limit switch, adc channel (confirmed)
return batt;
}