Header for MeStepper.cpp module.
More...
#include "MePort.h"
#include "WProgram.h"
#include "stdlib.h"
#include "wiring.h"
Go to the source code of this file.
Header for MeStepper.cpp module.
- Author
- MakeBlock
- Version
- V1.0.3
- Date
- 2016/01/20
- 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 Stepper device.
- Method List:
- void MeStepper::setpin(uint8_t dir_data, uint8_t step_data);
- void MeStepper::moveTo(long absolute);
- void MeStepper::move(long relative);
- boolean MeStepper::run();
- boolean MeStepper::runSpeed();
- void MeStepper::setMaxSpeed(float speed);
- void MeStepper::setAcceleration(float acceleration);
- void MeStepper::setSpeed(float speed);
- float MeStepper::speed();
- long MeStepper::distanceToGo();
- long MeStepper::targetPosition();
- long MeStepper::currentPosition();
- void MeStepper::setCurrentPosition(long position);
- void MeStepper::runToPosition();
- boolean MeStepper::runSpeedToPosition();
- void MeStepper::runToNewPosition(long position);
- void MeStepper::disableOutputs();
- void MeStepper::enableOutputs();
- History:
`<Author>` `<Time>` `<Version>` `<Descr>`
Mark Yan 2015/10/09 1.0.0 Bulid the new
Mark Yan 2015/10/29 1.0.1 Fix minor errors in format
forfish 2015/11/11 1.0.2 Add description.
Mark Yan 2016/01/20 1.0.3 Fix minor errors in comment.
DERIVED FROM // AccelStepper.cpp // // Copyright (C) 2009-2013 Mike McCauley //
- Id
- AccelStepper.cpp,v 1.23 2016/08/09 00:39:10 mikem Exp