Time for action – enabling and testing the PicoBoard support in Scratch 1.4
The blocks we need to interact with the PicoBoard are hidden by default. Let's enable them by proceeding with the following steps:
- Plug your PicoBoard in to your computer and start Scratch. In the Sensing palette, there are two blocks related to the PicoBoard: the () sensor value reporter block and the sensor () Boolean block as shown in the following screenshot:
- Let's ensure we have a signal. Click on the checkbox for the (slider) sensor value block to show the stage monitor.
- Then move the slider back and forth and ensure that a value is being reported as you move the slider. The following screenshot shows the stage monitor:
- If the block is not detecting a value, double-check your connections, and ensure you have the drivers from the manufacturer installed correctly. You should also close Scratch and reopen it.
What just happened?
The PicoBoard is connected, and Scratch is reading values from the board...