GroveCircularLED Class
- ID: grovecircularled
- Name: Circular LED
- Category: display
- Manufacturer: seeed
- Link: http://www.seeedstudio.com/wiki/Grove_-_Circular_LED
- Connection: gpio
This is a circular LED ring based on the MY9221 chip. It is often used with a rotary encoder and has 24 controllable LEDs.

Item Index
Methods
Methods
GroveCircularLED
(
Number
-
dataPin -
clockPin
Instantiates an GroveCircularLED object
Parameters:
-
dataPinNumberData pin
-
clockPinNumberClock pin
Returns:
Number:
setSpinner
(
-
position
Sets the spinner (turns off all LEDs but selected one)
Parameters:
-
positionNumberSelected position for the spinner (0-23)
setLevel
(
-
level -
direction
Sets the lighting status
Parameters:
-
levelNumberSelected level for the circular LED (0-23)
-
directionBooleanUp or down; up is true and default