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

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.…
Plant-monitoring-system-2000-x-800.jpg

Plant Monitoring System

This project demonstrates how to track parameters like moisture of the soil, sunlight, humidity, and temperature of the plant environment and display it on evive display.

All articles loaded
No more articles to load
PictoBlox Supported Boards
Extensions
Close Menu
×

Cart