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.
Dependents: Teensy_Mot_QEI_Ser_20180111 Axis Axis_20181108 Axis_version2
Fork of MotCon by
Revision 6:709761ee0a14, committed 2016-11-15
- Comitter:
- jebradshaw
- Date:
- Tue Nov 15 15:40:19 2016 +0000
- Parent:
- 5:3e07f69d8abd
- Commit message:
- Overloaded class for using one or two direction pins on motor driver IC with PWM control
Changed in this revision
| MotCon.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MotCon.h Tue Oct 18 11:32:36 2016 +0000
+++ b/MotCon.h Tue Nov 15 15:40:19 2016 +0000
@@ -57,7 +57,7 @@
void mot_control(float dc);
void mot_control(float dc, int invert);
- void setMode(int mode);
+ void setMode(bool mode);
bool getMode(void);
bool mc_mode;
private:
