set digital pin () output as ()

Introduction

Set digital pin output is a Robot block and a stack block. It sets the digital state of specified digital pin either “High” or “Low”. If the output is High, the pin will be at 5V and if the output is Low the pin will be at 0V.

Available  pins in evive:

  • 25 digital pins available as digital output: 2 to 18 and 20 to 27
  • Pin 13 LED
  • Motor 1 LED and Motor 2 LED

Pin can be selected from the drop down menu.

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

set digital pin () output as ()
Set digital pin () output as ()
Category: Arduino

Example

  • Controlling Pin 13 LED using Space key. If the output is High, LED glows, and if the output is Low, LED turns off.

Controlling Pin 13 LED using Space key. If the output is High, LED glows, and if the output is Low, LED turns off

  • Controlling the motor 1 LED using slide switch 1.

Controlling the motor 1 LED using slide switch 1