Skip to content

Input Output: Set digital pin () to ()

Jaume Olivé Petrus edited this page Oct 29, 2017 · 1 revision

This block is an Input / Output block that set a GPIO to an specified logic level value, this is High or Low.

When this block is active the GPIO is configured as output.

Shape

Example

In this example if a led is blinked every 50 milliseconds.

Instructions:

  • Connect a led to GPIO26

Run this example in The Whitecat IDE.

Clone this wiki locally