Skip to content

Class rb::StupidServo

ClassList > rb > StupidServo

Public Functions

Type Name
void disable ()
uint8_t id () const
set servo posiotion, range is <0;1>. Some servos might accept a bit more
float position () const
void setPosition (float positionFraction)
Returns last set position (can be NaN if disabled)

Public Functions Documentation

function disable

void rb::StupidServo::disable () 

function id

inline uint8_t rb::StupidServo::id () const

function position

inline float rb::StupidServo::position () const

function setPosition

void rb::StupidServo::setPosition (
    float positionFraction
) 

The documentation for this class was generated from the following file demo-projets/esp/RBCXStupidServo.h