1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_grove_ledbar
2021-01-25 21:10:08 +01:00
..
tests-with-config tests/driver_grove_ledbar: move to test-with-config 2021-01-25 21:10:08 +01:00
app.config.test tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
app.config.test.native tests/driver_{g,h,i,j}*: add Kconfig configuration files 2020-11-27 09:20:08 +01:00
main.c tests: add driver_grove_ledbar test application 2017-08-30 09:07:35 +02:00
Makefile tests/driver_{g,h,i,j}*: add Kconfig configuration files 2020-11-27 09:20:08 +01:00
README.md tests: add driver_grove_ledbar test application 2017-08-30 09:07:35 +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.