RIOT/tests/driver_grove_ledbar
Gaëtan Harter 154fbcff35
tests: use RIOTTOOLS variable
Follow up to #9067 and part of #8821
2018-05-04 10:52:26 +02:00
..
2018-05-04 10:52:26 +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.