There was an error while loading. Please reload this page.
This block is an Input / Output block and a Reporter block that reports the current logical value of a GPIO.
When this block is active the GPIO is configured as input with pull-up enabled.
In this example a led is turned off if a switch is pushed, and turned on if the switch is released.
Instructions:
Run this example in The Whitecat IDE.