Step 1. Download the Grove - LED Bar Library
[https://github.com/Seeed-Studio/Grove_LED_Bar] from Github.
Step 2. Refer How to install library
[https://wiki.seeedstudio.com/How_to_install_Arduino_Library]
to install library for Arduino.
Step 3. Open Arduino IDE -> File -> Examples ->
Grove_LED_Bar -> BasicControl
Step 4. Uncomment the dene MY9221_LED_NUM 24 and
comment #dene MY9221_LED_NUM 10 as below.
Step 5. Upload the example to Arduino. If you do not know how
to upload the code, please check how to upload code
[https://wiki.seeedstudio.com/Upload_Code/].
Step 6. You can see the led is running from .C, 23 and AB
repeatly.
Play with Codecraft
Hardware
Step 1. Connect a Grove - Circular LED to port D5 of a Base Shield.
Step 2. Plug the Base Shield to your Seeeduino/Arduino.
Step 3. Link Seeeduino/Arduino to your PC via an USB cable.
Software