Skip to content

microchip-pic-avr-solutions/veml3328_arduino_driver

Repository files navigation

MCHP

Vishay Semiconductors VEML3328 RGBCIR Color Sensor Driver - AVR-IoT Cellular Mini

GitHub release (latest by date)

Find the user guide at https://iot.microchip.com/docs/arduino/userguide/sensor-drivers/MCP9808

Description

Arduino driver for the VEML3328 RGBCIR Color Sensor [1], which is mainly focused on the AVR-IoT Cellular Mini development kit.

Usage

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

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.

Documentation

The library documentation is found as doxygen in the header file.



References:
[1] https://www.vishay.com/docs/84968/veml3328.pdf

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •