Find the user guide at https://iot.microchip.com/docs/arduino/userguide/sensor-drivers/MCP9808
Arduino driver for the VEML3328 RGBCIR Color Sensor [1], which is mainly focused on the AVR-IoT Cellular Mini development kit.
After installation, add this line to the top of your .ino file;
#include <veml3328.h>
This adds the library header file to your project, which includes all of the library functions and data types.
Examples can be found in the examples
folder. There are 3 examples available:
- color - Example of getting a color reading from the sensor (Red, Green, Blue, Infrared (IR) and Clear) and sending that data through a serial interface.
- config - Example of using the configuration functions.
- device_id - Example of retrieving the device ID of the sensor device. Mostly used for testing the I2C interface.
The library documentation is found as doxygen in the header file.
References:
[1] https://www.vishay.com/docs/84968/veml3328.pdf