SG90 driver source code. More...
#include "inc/SG90.h"
Functions | |
void | SG90_init (uint_least8_t index, PWM_Handle *motorHandle) |
SG90 Initialize. More... | |
void | SG90_setDuty (PWM_Handle motor, uint32_t duty) |
SG90 set duty. More... | |
void | SG90_start (PWM_Handle motorHandle) |
SG90 start. More... | |
SG90 driver source code.
void SG90_init | ( | uint_least8_t | index, |
PWM_Handle * | motorHandle | ||
) |
SG90 Initialize.
Detailed description starts here
index | SG90 index value |
motorHandle | PWM_handle reference |
void SG90_setDuty | ( | PWM_Handle | motor, |
uint32_t | duty | ||
) |
SG90 set duty.
Detailed description starts here
motor | PWM_Handle value |
duty | motor duty value |
void SG90_start | ( | PWM_Handle | motorHandle | ) |
SG90 start.
Detailed description starts here
motor | PWM_Handle value |