pdf-icon

PIN

Function Description

Pin custom configuration

Init Pin mode Pull Set pin mode

set HIGH Set pin high level

set LOW Set pin low level

Get Value Get pin value

Set Value Set pin value

Instructions

Set pin 5 to pull-up output high level

Pin Servo

Control 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 range=servo angle range

rotate to degree Servo rotate to degree

write us High level duration

Usage Instructions

Control the servo to switch between 0° and 90°

On This Page