C++ DevKit
C++ set of OOP library
|
the class that manages the SG90 step motor More...
#include <sg90.h>
Public Member Functions | |
SG90 (struct_ConfigSG90 sg90_config) | |
Construct a new SG90 object. | |
void | set_pos (int pos) |
the command to set the position of the motor. | |
the class that manages the SG90 step motor
SG90::SG90 | ( | struct_ConfigSG90 | sg90_config | ) |
Construct a new SG90 object.
sg90_config |
void SG90::set_pos | ( | int | pos | ) |
the command to set the position of the motor.
pos | position in degrees, between pos_min_deg and pos_max_deg. |