SparkFun Spectral UV Sensor - AS7331  v2.1.2-21-g3e22fb4
Library for the SparkFun Spectral UV Sensor - AS7331
Loading...
Searching...
No Matches
sfDevAS7331.cpp File Reference

Implementation file for the SparkFun AS7331 UV Sensor device driver. More...

#include "sfDevAS7331.h"
Include dependency graph for sfDevAS7331.cpp:

Detailed Description

Implementation file for the SparkFun AS7331 UV Sensor device driver.

This file implements the sfDevAS7331 class methods for configuring and reading data from the AS7331 UV sensor. The driver provides a comms-agnostic interface using the SparkFun Toolkit.

Key features:

  • Device initialization and configuration
  • UV sensor readings (UVA, UVB, UVC)
  • Temperature readings
  • Gain and clock settings
  • Power management
  • Measurement modes

Implementation Details

  • Register read/write operations
  • Raw data conversion methods
  • Device state management
  • Configuration settings
  • Measurement handling
Author
SparkFun Electronics
Date
2023

License

SPDX-License-Identifier: MIT

See also
https://github.com/sparkfun/SparkFun_AS7331_Arduino_Library