SofaPirate / Plaquette

Object-oriented Arduino library for creative physical computing

Home Page:https://sofapirate.github.io/Plaquette/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Servo not working on ESP32

sofian opened this issue · comments

We need to figure out what to do with this:

examples/07.Advanced/ServoKnob/ServoKnob.ino:39:1: error: 'ServoOut' does not name a type; did you mean 'error_t'?
 ServoOut servo(9);
 ^~~~~~~~
 error_t
examples/07.Advanced/ServoKnob/ServoKnob.ino: In function 'void step()':
examples/07.Advanced/ServoKnob/ServoKnob.ino:46:10: error: 'servo' was not declared in this scope
   osc >> servo;
          ^~~~~

There is a specific servo library for ESP32 https://dronebotworkshop.com/esp32-servo/

However this would include a dependency.

Do we really need to support servo motors in the core Plaquette library?