Skip to content

Input Output: Invert digital pin ()

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

This block is an Input / Output block that invert the current logical value of a GPIO to its inverse value, this is Low if current value is High and High if current value is 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