This repository was archived by the owner on Sep 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Servo
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.
| 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 |
Copyright (C) 2015 -2019, Alan Yorinks, All rights reserved.
- Home
- Before You Install s2aio
- Installing s2aio
- Starting s2aio
- s2aio Programming Blocks
- Examples