EnviroDIY / ModularSensors

An Arduino library to give environmental sensors a common interface of functions for use with Arduino-framework dataloggers, such as the EnviroDIY Mayfly.
https://envirodiy.github.io/ModularSensors/
Other
81 stars 48 forks source link

Adding the apogee SP-510 sensor #464

Closed braedon-d closed 4 months ago

braedon-d commented 6 months ago

This commit adds apogee's upward-facing, analog-output pyranometer, the SP-510-SS. It includes the main file and the header file.

These files are based on the SQ-212 sensor files that already exist in the library, but the most notable changes include: allowing the user to specify the calibration factor in the constructor rather than having to change it in the source code, and letting the user specify which pins are used for the analog reading.