Skip to content

hectorespert/SolarCharger

Repository files navigation

SolarCharger

SolarCharger CI PlatformIO Registry

SolarCharger library is intended to be used with the Solar Charger Shield by Seeedstudio or with a clone if it exists.

The only functionality provided is to measure the voltage of Lipo Battery if it is enabled in the shield.

Seedstudio Solar Charger Shield V2.2

Installation

Use the Arduino Library Manager or the PlatformIO Library Manager to install the library.

Usage

  1. Include the library header.
#include <SolarCharger.h>
  1. Init SolarCharger instance;
SolarCharger solarCharger(A0);
  1. Read voltage in the loop function.
float volatge = solarCharger.readVoltage();

About

SeeedStudio Solar Charger Shield library

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages