1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/drivers/grove_ledbar
2024-03-27 10:28:14 +01:00
..
tests-with-config tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
main.c tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
Makefile tests/*: Remove TEST_KCONFIG symbols 2024-03-27 10:28:14 +01:00
Makefile.ci examples and tests: add atmega8 to relevent Makefile.ci 2023-07-11 21:22:02 +02:00
README.md tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00

About

This is a test application for the Seeed Studio Grove LED bar module 1.

Details

This test application will initialize a Groove LED bar with the configuration as specified in the grove_ledbar_params.h file. To connect the LED bar with your board use the following pinout:

  • Pin GND is connected directly to GND.
  • Pin VCC is connected directly to VCC +3.3V, or 5V if your board allows that.
  • Pin DCKI is the clock pin and is connected to a free GPIO
  • Pin DI is the data pin and is connected to a free GPIO, too

for the 2 latter pins note the port and pin number and adapt the Makefile accordingly.

The test application will light up the LED bar several times, running from 0% up to 100% and down to 0% again.