Function Description

Pin custom configuration

Init Pin mode Pull Set pin mode

set HIGH Set the pin high level

set LOW Set the pin low level

Get Value Get the value of pin

Set Value Set the value of pin


Set pin 5 pull-up output high level

Pin Servo

Control Servo

Init Pin, freq, min, max,angle range Initial setting of the servo, Pin=servo pin, freq=frequency of the servo signal, min=minimum pulse width, max=maximum pulse width, angle angle=angle range of the servo

rotate to degree Servo rotation angle

write us High level time


Control the servo to switch between 0° and 90°

On This Page