Table of Contents

set servo on () to () angle

Description

The block sets the servo motor connected to the specified servo pin to the specified angle.

Example

The example demonstrates how to calibrate the servo motor with Quarky.

The purpose of servo motor calibration is to align the angle of your servo motor properly.

Connecting Servo to Quarky

The Servo motor will be connected to the Quarky Servo Connector. There are two servo ports on Quarky. Always make sure that brown wire is on your left side.

Script

Put the Ultrasonic Assembly on the servo shaft.

Read More
The example demonstrates how to code the Quarky to make the servo sweep the perimeter.

Script

Output

Read More
All articles loaded
No more articles to load