When pin () connected
When pin () tested.PNG
Category micro:bit
Type Hat

The when pin () connected block is a hat block used as part of the micro:bit extension. This block will trigger and event when a pin is connected to a wire, crocodile clip or other electronic conductor.

Example uses

When pin () tested example use 1.PNG Triggering an event on the micro:bit.

When pin () tested example use 2.PNG Triggering an event on the project's stage.