RCKit
Public Member Functions
AccelStepperSpeedSetter Class Reference

Setter class that outputs its value to set the speed of an AccelStepper. More...

#include <AccelStepperSpeedSetter.h>

Inheritance diagram for AccelStepperSpeedSetter:
Inheritance graph
[legend]
Collaboration diagram for AccelStepperSpeedSetter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AccelStepperSpeedSetter (AccelStepper *stepper)
virtual void input (int value)

Detailed Description

Setter class that outputs its value to set the speed of an AccelStepper.

Requires the AccelStepper library seehttp://www.open.com.au/mikem/arduino/AccelStepper/

Examples:

TestSuite.pde.


Constructor & Destructor Documentation

AccelStepperSpeedSetter::AccelStepperSpeedSetter ( AccelStepper *  stepper)
Parameters:
[in]stepperThe target AccelStepper instance. It is the callers job to configure the AccelStepper
Author:
Mike McCauley (mikem@open.com.au)

Member Function Documentation

void AccelStepperSpeedSetter::input ( int  value) [virtual]

Input the value to be used to set the stepper speed.

Parameters:
[in]valueThe inpout value to be used to set the speed of the stepper in steps per second.

Reimplemented from Setter.


The documentation for this class was generated from the following files: