|
Parking Garage Control System
ESP32 Parking Garage – ESP-IDF/FreeRTOS
|
ESP32 implementation of servo control via PWM. More...
#include <EspServoOutput.h>


Public Member Functions | |
| EspServoOutput (gpio_num_t pin, ledc_channel_t ledcChannel, bool initialLevel=false) | |
| Construct ESP32 Servo output. | |
| ~EspServoOutput () override | |
| EspServoOutput (const EspServoOutput &)=delete | |
| EspServoOutput & | operator= (const EspServoOutput &)=delete |
| void | setLevel (bool high) override |
| Set GPIO output level. | |
| bool | getLevel () const override |
| Get current GPIO output level. | |
Public Member Functions inherited from IGpioOutput | |
| virtual | ~IGpioOutput ()=default |
| virtual | ~IGpioOutput ()=default |
ESP32 implementation of servo control via PWM.
Controls a servo motor using LEDC PWM.
|
explicit |
Construct ESP32 Servo output.
| pin | GPIO pin number |
| ledcChannel | LEDC channel to use (0-7) |
| initialLevel | Initial position (false=closed, true=open) |
|
override |
|
delete |
|
overridevirtual |
|
delete |
|
overridevirtual |