SparkFun Capacitive Soil Moisture Sensor - CY8CMBR3 Arduino Library
Library for the SparkFun Capacitive Soil Moisture Sensor - CY8CMBR3
Loading...
Searching...
No Matches
SparkFun_CY8CMBR3.h File Reference

Arduino-specific implementation for the SparkFun CY8CMBR3 Sensor. More...

#include <SparkFun_Toolkit.h>
#include "sfTk/sfDevCY8CMBR3.h"
#include <Arduino.h>
Include dependency graph for SparkFun_CY8CMBR3.h:

Go to the source code of this file.

Classes

class  SfeCY8CMBR3ArdI2C
 Arduino I2C implementation for the CY8CMBR3 sensor. More...
 

Variables

const uint8_t kMaxConnectAttempts = 10
 Maximum number of connection attempts. More...
 

Detailed Description

Arduino-specific implementation for the SparkFun CY8CMBR3 Sensor.

This file provides the Arduino-specific implementation of the CY8CMBR3 driver class. The SfeCY8CMBR3ArdI2C` class inherits from the base driver class and implements the I2C communication interface using Arduino's Wire library.

Key features:

  • Arduino I2C initialization
  • Connection verification
  • Toolkit integration

SfeCY8CMBR3ArdI2C Class

  • begin(): Initializes I2C communication
  • isConnected(): Verifies sensor connection

Dependencies

  • Arduino.h
  • SparkFun_Toolkit.h
  • sfCY8CMBR3.h
Author
SparkFun Electronics
Date
2025

License

SPDX-License-Identifier: MIT

Product Links

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

Variable Documentation

◆ kMaxConnectAttempts

const uint8_t kMaxConnectAttempts = 10

Maximum number of connection attempts.