Skip to content
This repository was archived by the owner on Sep 10, 2022. It is now read-only.
Alan Yorinks edited this page Mar 11, 2019 · 4 revisions

Snap! tab location: Motion tab.

This command block will a set a servo motor's position between 0 and 180 degrees.

Enter the pin number and servo angle.

To use this block, the pin must have been configured for servo operation using the Digital Pin Configuration block.

Debugging Values

Debugger Value Explanation
0 No Error
7-1 The pin number specified is not an integer value
7-2 The pin number specified is not a valid pin number
7-3 The pin is not configured for servo operation
7-4 The position/angle specified must be an integer
7-5 The position/angle specfied must be between 0 and 180

Clone this wiki locally