Library for generating servo pulses from mbed output pins

Dependents:   mbed_ES20X_Tester MadPulseCntrl ES413Integration Emaxx_Navigation ... more

Fork of SERVOGEN by Joseph Bradshaw

Embed: (wiki syntax)

« Back to documentation index

ServoOut Class Reference

ServoOut Class Reference

ServoOut Class. More...

#include <ServoOut.h>

Public Member Functions

 ServoOut (PinName pin)
 Constructor.
ServoOutoperator= (int pulse_us)
 Shorthand for the write and read functions.

Detailed Description

ServoOut Class.

Definition at line 61 of file ServoOut.h.


Constructor & Destructor Documentation

ServoOut ( PinName  pin )

Constructor.

Parameters:
pin- servo pulse output pin

Definition at line 27 of file ServoOut.cpp.


Member Function Documentation

ServoOut & operator= ( int  pulse_us )

Shorthand for the write and read functions.

Definition at line 73 of file ServoOut.cpp.