1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_vcnl40x0
2021-01-21 10:02:34 +01:00
..
app.config.test tests/driver: add Kconfig configuration files 2021-01-21 10:02:34 +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.