|
C++ DevKit
C++ set of OOP library
|
the data set that configures the SG90 motor More...
#include <sg90.h>

Public Attributes | |
| uint | command_pin |
| the gpio pin used to command the servo motor. Correspond to the B channel of the PWM slice | |
| uint | sync_pin |
| an auxilliary pulse that can be used as a synchro signal. Correspond to the A channel of the PWM slice | |
| int | pos_min_degree = -90 |
| minimum position in degrees. Typically 0° or -90°. | |
| int | pos_max_degree = +90 |
| maximum position in degrees. Typically 180° or +90°. | |
the data set that configures the SG90 motor