PiRingo

The PiRingo from 4Tronix is a 12 LED board arranged in a ring with a couple of switches.

To use it,  launch ScratchGPIO Plus and 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.

PiRingoDocIf 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.