1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_vcnl40x0
Alexandre Abadie 49f1f4a9e0
tests: don't define APPLICATION in application Makefile
The right way is to include the common test Makefile where the application is automatically defined.
2019-11-05 07:59:57 +01:00
..
main.c tests/vcnl40x0: add test application 2018-10-15 11:44:10 +02:00
Makefile tests: don't define APPLICATION in application Makefile 2019-11-05 07:59:57 +01:00
README.md tests/vcnl40x0: add test application 2018-10-15 11:44:10 +02:00

About

This is a test application for the VCNL40X0 proximity and ambient light sensor.

Usage

After initialization, every 2 seconds, the application:

  • reads the proximity (cts);
  • reads the ambient light (cts);
  • reads the illuminance (computed from ambient light by dividing it by 4);
  • those values are printed to STDOUT.