set digital pin () output as ()

set digital pin output as

set digital pin () output as () is a stack block found in evive blocks, Arduino Uno blocks. Arduino Mega blocks, and Arduino Nano blocks. The block sets the digital state of the specified digital pin to 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

  1. evive: 25 digital pins available as digital output: 2 to 18 and 20 to 27
  2. Arduino Mega: 52 digital pins available for the user (2-53)
  3. Arduino Uno: 12 digital pins available for the user (2-13)
  4. Arduino Nano: 12 digital pins available for the user (2-13)

The pin can be selected from the drop-down menu.

evive Notes Icon
Note: This block is available in both Upload mode and Stage mode.

Example

  1. Controlling Pin 13 LED using Space key. If the output is High, LED glows, and if the output is Low, LED turns off.
    digital write example
  2. LED blinking.
    digital write example 2
This helped
This didn't help

Content is available under CC BY-SA 4.0 unless otherwise noted.

Related Tutorials, Projects & Documentation

Digital Input/Output Pins

Introduction Under the Magic Lid of evive, there are 28 Digital 5V Input and Output (I/O) pins. Digital I/O stands for Digital Input and Output.…

How to use a Tactile Switch with evive

This tutorial discusses what are switches, types of switches, pull-up and pull-down resistors, and how to control the pin 13 LED on evive using a tactile switch with the help of an Arduino IDE sketch.
All articles loaded
No more articles to load
PictoBlox Supported Boards
Extensions
Close Menu
×

Cart