Joseph Bradshaw / SERVOGEN

Dependents:   mbed_ES200_Tester_SERVOGEN mbed_ES20X_Thread_Test

Embed: (wiki syntax)

« Back to documentation index

SERVOGEN Class Reference

SERVOGEN Class Reference

SERVOGEN Class. More...

#include <SERVOGEN.h>

Public Member Functions

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

Detailed Description

SERVOGEN Class.

Definition at line 61 of file SERVOGEN.h.


Constructor & Destructor Documentation

SERVOGEN ( PinName  pin )

Constructor.

Parameters:
pin- servo pulse output pin

Definition at line 27 of file SERVOGEN.cpp.


Member Function Documentation

SERVOGEN & operator= ( int  pulse_us )

Shorthand for the write and read functions.

Definition at line 73 of file SERVOGEN.cpp.