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
2018-09-07 15:13:08 +02:00
..
tests tests: move testrunner import up 2018-08-13 14:11:24 +02:00
main.c tests: add driver_grove_ledbar test application 2017-08-30 09:07:35 +02:00
Makefile tests: remove obsolete local test targets 2018-09-07 15:13:08 +02: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.