Custom pin configuration
Init Pin mode Pull
Set pin mode
set HIGH
Set pin to high level
set LOW
Set pin to low level
Get Value
Get pin value
Set Value
Set pin value
Set pin 5 to pull-up output high level
Control the servo
Init Pin, freq, min, max, angle range
Servo initialization settings, Pin=pin, freq=servo signal frequency, min=minimum pulse width, max=maximum pulse width, angle=servo angle range
rotate to degree
Rotate servo to a specific degree
write us
High-level duration
Control the servo to switch between 0° and 90°
PWM feature settings
Init in Pin freq duty use timer
Set channel pin frequency, duty cycle, and timer
set freq to
Change frequency
set duty to
Change duty cycle
Pause
Disable PWM feature
Resume
Re-enable PWM feature
Set PWM0 pin 25 with timer 0 to frequency 500 and duty cycle 50