Controlls of IHM01A1 by Joystick shield
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Fork of X_NUCLEO_IHM01A1 by
Revision 2:de6d31fa3709, committed 2015-10-28
- Comitter:
- Davidroid
- Date:
- Wed Oct 28 12:35:54 2015 +0000
- Parent:
- 1:b38ebb8ea286
- Child:
- 3:b14869784215
- Commit message:
- + Added support for LSM6DS0, other than the LSM6DS3 within the main program.; + Increased the maximum motor frequency to 20000Hz rather than 10000Hz within the X_NUCLEO_IHM01A1 library (modification just for the purpose of this demo).
Changed in this revision
| Components/l6474/l6474_class.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Components/l6474/l6474_class.cpp Fri Oct 16 13:30:06 2015 +0000 +++ b/Components/l6474/l6474_class.cpp Wed Oct 28 12:35:54 2015 +0000 @@ -66,7 +66,7 @@ #define MAX_STEPS (0x7FFFFFFF) /// Maximum frequency of the PWMs in Hz -#define L6474_MAX_PWM_FREQ (10000) +#define L6474_MAX_PWM_FREQ (20000) /// Minimum frequency of the PWMs in Hz #define L6474_MIN_PWM_FREQ (2)
