PiRingo
The PiRingo from 4Tronix is a 12 LED board arranged in a ring with a couple of switches.
To use it , launch ScratchGPIO Pluse create a variable called AddOn and use the Green Flag Event to set it to PiRingo
You can control the LEDs by using broadcasting Led1 .. Led12 on or Off e.g broadcast Led5On or broadcast Led1Off. You also can use the usual AllOn and AllOff broadcasts.
If you create a variable called Power2, then you can vary the brightness of LED2 by changing its value from 0 to 100.
The switches states are available as on or off by using the sensor blocks in the sensing section.
1 Response
[…] Python programs are available, but I chose to use the gpio extensions to Scratch, which also support the board, as the software is more appropriate to a 5 year […]