Minor changes to work with ULCD144G2
Revision 1:6692e9146e20, committed 2021-05-03
- Comitter:
- rvessell
- Date:
- Mon May 03 17:36:37 2021 +0000
- Parent:
- 0:3b2b4f34aaca
- Commit message:
- final
Changed in this revision
DRV2605.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/DRV2605.h Wed Oct 21 01:02:59 2015 +0000 +++ b/DRV2605.h Mon May 03 17:36:37 2021 +0000 @@ -72,15 +72,15 @@ RTP, // 0x05: Real- Time Playback DIAG, // 0x06: Set to perform actuator diagnostics AUTO_CAL, // 0x07: Set to perform auto calibration of device for actuator - STANDBY = 0x40, // 0x40: Set Device to Software Standby (Low- Power Mode) - RESET = 0x80, // 0x80: Reset Device (equivalent of power cycling the device) + STANDBY, // 0x40: Set Device to Software Standby (Low- Power Mode) + DRESET // 0x80: Reset Device (equivalent of power cycling the device) }; //// FeedBack_Controls Fields Bitmasks (Register Addr: 0x1A) enum Actuator_Type{ERM = 0, LRA = 0x80}; // bit-7 enum Brake_Factor{x1 = 0x00, x2 = 0x10, x3 = 0x20, x4 = 0x40, x6 = 0x80, x8 = 0x50, - x16 = 0x60, DISABLE = 0x70}; // bit-6..4 + x16 = 0x60, DDISABLE = 0x70}; // bit-6..4 enum Loop_Gain{LOW = 0x00, MED = 0x04, HIGH = 0x08,