Download Print this page

AcSiP AI7688H Reference Manual page 57

Advertisement

You can also use config_percent to directly assign period and duty cycle:
Enable Output
After configuration you can enable the PWM output by calling enable(true):
Control a Servo
You can use PWM signal to control a servo. A pulse width of 1500us means
the neutral position, while usually 1000ms and 2000ms being the minimum
and maximum position. So the following code resets the servo motor to
neutral position:
-53-
Document Name
AI7688H
Reference Manual
Version
V 2.0
Date
2019/08/08

Advertisement

loading

This manual is also suitable for:

Ek-ai7688h