Getting Started with PictoBlox
Important Terms
Courses

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.

PictoBlox Supported Boards
Extensions
Close Menu
×
×

Cart

STEMpedia Starter Kit is now available on Indiegogo!
STEMpedia Starter Package is now on Indiegogo!
Get 41% OFF with Super Early Bird discounts!
x