Header for MeEncoderMotor.cpp module.
More...
#include <stdbool.h>
#include "MeConfig.h"
#include "MePort.h"
Go to the source code of this file.
Header for MeEncoderMotor.cpp module.
- Author
- MakeBlock
- Version
- V1.0.1
- Date
- 2015/11/09
- 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 EncoderMotor device, The Me EncoderMotor inherited the MeSerial class from SoftwareSerial.
- Method List:
- void MeEncoderMotor::begin();
- boolean MeEncoderMotor::reset();
- boolean MeEncoderMotor::move(float angle, float speed);
- boolean MeEncoderMotor::moveTo(float angle, float speed);
- boolean MeEncoderMotor::runTurns(float turns, float speed);
- boolean MeEncoderMotor::runSpeed(float speed);
- boolean MeEncoderMotor::runSpeedAndTime(float speed, float time);
- float MeEncoderMotor::getCurrentSpeed();
- float MeEncoderMotor::getCurrentPosition();
- History:
`<Author>` `<Time>` `<Version>` `<Descr>`
Mark Yan 2015/11/03 1.0.0 Fix minor errors on format
forfish 2015/11/09 1.0.1 Add description