Setter class that limits its input to between specified min and max values.
More...
#include <ServoSetter.h>
List of all members.
Detailed Description
Setter class that limits its input to between specified min and max values.
- Examples:
- HBridgeRCRx.pde, RCRxEthernet.pde, RCRxWiShield.pde, and TestSuite.pde.
Constructor & Destructor Documentation
ServoSetter::ServoSetter |
( |
Servo * |
servo | ) |
|
Member Function Documentation
void ServoSetter::input |
( |
int |
value | ) |
|
|
virtual |
Input the value to be used to set the servo Servos are controlled within the range 0 to 180 degrees Input values in the range 0-255 are scaled to 0-180 Values outside that range are limited to 0 and 255
- Parameters:
-
Reimplemented from Setter.
The documentation for this class was generated from the following files: