16 uint8_t
id()
const {
return m_id; }
22 float position()
const {
return m_lastPosition; }
30 StupidServo(
const StupidServo&) =
delete;
The main library class for working with the RBCX board. Call the install() method at the start of you...
Definition: RBCXManager.h:61
Definition: RBCXStupidServo.h:12
void disable()
Definition: RBCXStupidServo.cpp:11
void setPosition(float positionFraction)
Returns last set position (can be NaN if disabled)
Definition: RBCXStupidServo.cpp:9
uint8_t id() const
set servo posiotion, range is <0;1>. Some servos might accept a bit more
Definition: RBCXStupidServo.h:16
float position() const
Disables servo.
Definition: RBCXStupidServo.h:22
Definition: RBCXAngle.cpp:3