|Please expand this article or section. You can help by talk page.if you are an editor. More information might be found in a section of the|
The When () block is a PicoBoard block and a Hat block. The block activates if the button on a PicoBoard is being pressed or the specified port gets connected. It can be used in some interesting ways, for example: if you have a script that tells you to press a button on your PicoBoard, you can press it, and the script will activate.
This block can only be used with a PicoBoard.
The block has the following options in the drop-down menu:
- button pressed
- A connected
- B connected
- C connected
- D connected