Pico-Arduino
Public Member Functions | List of all members
Servo Class Reference

We provide an alternative Pico implementation for the Servo class which is compatible with the Arduino Server library. More...

#include <PicoPWMServo.h>

Public Member Functions

void attach (int pin)
 attach the given pin to the next free channel, sets pinMode, returns channel number or 0 if failure
 
void attach (int pin, int min, int max)
 as above but also sets min and max values for writes.
 
void detach ()
 
void write (int value)
 
void writeMicroseconds (int value)
 
int read ()
 
int readMicroseconds ()
 
bool attached ()
 

Detailed Description

We provide an alternative Pico implementation for the Servo class which is compatible with the Arduino Server library.


The documentation for this class was generated from the following file: