Motor driver library for the AP1017.
AKM Development Platform
AP1017 Motor Driver
Import libraryAP1017
Motor driver library for the AP1017.
History
Changed all float values to double precision.
2018-05-02, by tkstreet [Wed, 02 May 2018 19:51:16 +0000] rev 11
Changed all float values to double precision.
Removed hard pin definitions. Modified debug messages. Added info about unimplemented speed feature.
2017-11-08, by tkstreet [Wed, 08 Nov 2017 21:37:24 +0000] rev 10
Removed hard pin definitions. Modified debug messages. Added info about unimplemented speed feature.
Transferred DigitalOut and I2C definitions to control class to make AP1017 class more generic.
2017-05-19, by tkstreet [Fri, 19 May 2017 23:09:27 +0000] rev 9
Transferred DigitalOut and I2C definitions to control class to make AP1017 class more generic.
Minor fix to motor object.
2017-05-03, by tkstreet [Wed, 03 May 2017 18:55:18 +0000] rev 8
Minor fix to motor object.
Debugged port expander functionality. Driver is operational, but only with ON/OFF capability. No PWM capability yet.
2017-04-25, by tkstreet [Tue, 25 Apr 2017 19:13:41 +0000] rev 7
Debugged port expander functionality. Driver is operational, but only with ON/OFF capability. No PWM capability yet.
Changed Enable pin from DigitalOut to I2C/TCA9554A.
2017-04-21, by tkstreet [Fri, 21 Apr 2017 23:22:06 +0000] rev 6
Changed Enable pin from DigitalOut to I2C/TCA9554A.
Fixed incorrect pin assignments. Enable pin set to P0_10, but is not working since Enable is connected to RSV. This needs to be fixed.
2017-04-21, by tkstreet [Fri, 21 Apr 2017 20:43:25 +0000] rev 5
Fixed incorrect pin assignments. Enable pin set to P0_10, but is not working since Enable is connected to RSV. This needs to be fixed.
Debugged motor functions. Added debugging serial messages. Added isMotorOn() function.
2017-04-21, by tkstreet [Fri, 21 Apr 2017 20:18:32 +0000] rev 4
Debugged motor functions. Added debugging serial messages. Added isMotorOn() function.
Simplified motor driver by reducing instruction set to basic operations.
2017-04-19, by tkstreet [Wed, 19 Apr 2017 23:13:04 +0000] rev 3
Simplified motor driver by reducing instruction set to basic operations.
Fixed documentation formatting
2017-04-17, by tkstreet [Mon, 17 Apr 2017 19:17:25 +0000] rev 2
Fixed documentation formatting