Driver for Me Megapi DC motor device.
More...
Driver for Me Megapi DC motor device.
- Author
- MakeBlock
- Version
- V1.0.2
- Date
- 2017/05/22
- Copyright
- This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
conditions. The main licensing options available are GPL V2 or Commercial:
- Open Source Licensing GPL V2
- This is the appropriate option if you want to share the source code of your
application with everyone you distribute it to, and you also want to give them
the right to share who uses it. If you wish to use this software under Open
Source Licensing, you must contribute all your source code to the open source
community in accordance with the GPL Version 2 when your application is
distributed. See http://www.gnu.org/copyleft/gpl.html
- Description
- This file is a drive for Me Megapi DC mtor device.
- Method List:
- void MeMegaPiDCMotor::setpin(uint8_t dc_dir_h1,uint8_t dc_dir_h2,uint8_t pwm_pin)
- void MeMegaPiDCMotor::run(int16_t speed)
- void MeMegaPiDCMotor::stop(void)
- void MeMegaPiDCMotor::reset(uint8_t port)
- History:
`<Author>` `<Time>` `<Version>` `<Descr>`
Mark Yan 2016/02/20 1.0.0 Rebuild the new.
Mark Yan 2016/04/07 1.0.1 fix motor reset issue.
Zzipeng 2017/05/18 1.0.2 set all timer frequency at 970HZ
o