C++ DevKit
C++ set of OOP library
Loading...
Searching...
No Matches
struct_ConfigSG90 Struct Reference

the data set that configures the SG90 motor More...

#include <sg90.h>

Collaboration diagram for struct_ConfigSG90:
Collaboration graph

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°.
 

Detailed Description

the data set that configures the SG90 motor


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