Set servo block is a Robot block and a stack block. When it is executed, it sets the servo angle to the specified angle. The angle can vary from 0 to 180 degree.

There are two channels for plug and play servo motors connected to pin 44 and 45. Apart from these you can run servo from PWM pins: 2 to 13.

This block can be used in Arduino Mode as well as in Scratch Mode.

set servo pin () angle as ()
Set servo pin () angle as ()
Block Type:

  • Set servo angle according to user input

evive Scratch Servo Example 1

evive Scratch extension block

  • Servo Sweep

Servo Sweep Scratch

  • Servo Knob

evive Servo Knob Scratch

Close Menu