text stringlengths 1 24.5M |
|---|
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-01-28
// PURPOSE: unit tests for the PIR8575 library
// https://github.com/RobTillaart/PIR8575
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// ... |
#pragma once
//
// FILE: PPD71.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// PURPOSE: Arduino library for PPD71
// DATE: 2025-04-09
// URL: https://github.com/RobTillaart/PPD71
#include "Arduino.h"
#define PPD71_LIB_VERSION (F("0.1.0"))
// special bytes
// #define PPD71_STX 0x02
// #define ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-04-10
// PURPOSE: unit tests for the PPD71 library
// URL: https://github.com/RobTillaart/PPD71
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Arduino-CI/arduin... |
//
// FILE: Prandom.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.7
// PURPOSE: Arduino library for random number generation with Python random interface
// URL: https://github.com/RobTillaart/Prandom
//
// code based upon Python implementation although some small
// optimizations and tweaks were needed to get ... |
#pragma once
//
// FILE: Prandom.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.7
// PURPOSE: Arduino library for random numbers with Python Random interface
// The underlying pseudo-random number generator is a
// Multiply-with-carry method invented by George Marsaglia.
// URL: https://github.com/... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-06
// PURPOSE: unit tests for the Prandom
// https://github.com/RobTillaart/Prandom
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// assertEq... |
#pragma once
//
// FILE: pressure.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.2
// PURPOSE: Arduino library for pressure conversion
// URL: https://github.com/RobTillaart/pressure
#define PRESSURE_LIB_VERSION (F("0.3.2"))
// CONSTANTS NEED TO BE VERIFIED
// Temperature 25°C ?
// CONSTANTS SETTERS... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-12-03
// PURPOSE: unit tests for the pressure library
// https://github.com/RobTillaart/pressure
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
/... |
#pragma once
//
// FILE: PrintCharArray.h
// AUTHOR: Rob Tillaart
// VERSION: 0.4.0
// PURPOSE: Class that captures prints into a char array
// DATE: 2017-12-07
// URL: https://github.com/RobTillaart/PrintCharArray
#include "Arduino.h"
#include "Print.h"
#define PRINTCHARARRAY_VERSION (F("0.4.... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-01
// PURPOSE: unit tests for the PrintCharArray library
// https://github.com/RobTillaart/PrintCharArray
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ------------------... |
//
// FILE: printHelpers.cpp
// AUTHOR: Rob Tillaart
// DATE: 2018-01-21
// VERSION: 0.5.0
// PURPOSE: Arduino library to help formatting for printing.
// URL: https://github.com/RobTillaart/printHelpers
#include "printHelpers.h"
// global buffer used by all functions so no static buffer in every functi... |
#pragma once
//
// FILE: printHelpers.h
// AUTHOR: Rob Tillaart
// DATE: 2018-01-21
// VERSION: 0.5.0
// PURPOSE: Arduino library to help formatting for printing.
// URL: https://github.com/RobTillaart/printHelpers
#include "Arduino.h"
#include "stdlib.h"
#ifndef PRINTHELPERS_LIB_VERSION
#define PRINTHEL... |
#pragma once
//
// FILE: printHelpersMT.h
// AUTHOR: Rob Tillaart
// DATE: 2025-06-30
// VERSION: See printHelpers.h
// PURPOSE: Arduino library to help formatting for printing.
// URL: https://github.com/RobTillaart/printHelpers
// Class implementations of the printHelpers.h functions.
// These do not sh... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-06
// PURPOSE: unit tests for the printHelpers
// https://github.com/RobTillaart/printHelpers
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
/... |
#pragma once
//
// FILE: PrintSize.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.6
// PURPOSE: Library to determine size of a printed variable.
// DATE: 2017-12-09
// URL: https://github.com/RobTillaart/PrintSize
#include "Arduino.h"
#include "Print.h"
#define PRINTSIZE_VERSION (F("0.3.6"))
class PrintS... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-01
// PURPOSE: unit tests for the PrintSize library
// https://github.com/RobTillaart/PrintSize
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------... |
#pragma once
//
// FILE: PrintString.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.5
// PURPOSE: Class that captures prints into a String
// DATE: 2017-12-09
// URL: https://github.com/RobTillaart/PrintString
#include "Arduino.h"
#include "Print.h"
#define PRINTSTRING_VERSION (F("0.2.5"))
class Print... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-01
// PURPOSE: unit tests for the PrintString library
// https://github.com/RobTillaart/PrintString
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ------------------------... |
//
// FILE: PT2314.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-07-30
// VERSION: 0.2.1
// PURPOSE: Arduino library for PT2314 i2C 4 channel audio processor.
// URL: https://github.com/RobTillaart/PT2314
#include "PT2314.h"
PT2314::PT2314(TwoWire *wire)
{
_wire = wire;
}
bool PT2314::begin()
{
if (! i... |
#pragma once
//
// FILE: PT2314.h
// AUTHOR: Rob Tillaart
// DATE: 2023-07-30
// VERSION: 0.2.1
// PURPOSE: Arduino library for PT2314 i2C 4 channel audio processor.
// URL: https://github.com/RobTillaart/PT2314
#include "Arduino.h"
#include "Wire.h"
#define PT2314_LIB_VERSION (F("0.2.1... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2023-07-30
// PURPOSE: unit tests for the PT2314
// https://github.com/RobTillaart/PT2314
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Ardui... |
#pragma once
//
// FILE: PulseDivider.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.3
// DATE: 2023-09-13
// PURPOSE: Arduino library to divide a pulse stream with a float factor.
// URL: https://github.com/RobTillaart/PulseDivider
#include "Arduino.h"
#define PULSEDIVIDER_LIB_VERSION (F("0.1.3"))
cl... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-09-13
// PURPOSE: unit tests for the PulseDIvider
// https://github.com/RobTillaart/PulseDivider
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
/... |
//
// FILE: PulsePattern.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.9
// DATE: 2012-11-23
// PURPOSE: Arduino Library to generate repeating pulse patterns
// sends a pulse pattern to a digital pin (continuously)
// URL: https://github.com/RobTillaart/PulsePattern
#include "PulsePattern.h"
// P... |
#pragma once
//
// FILE: PulsePattern.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.9
// DATE: 2012-11-23
// PURPOSE: Arduino Library to generate repeating pulse patterns
// sends a pulse pattern to a digital pin (continuously)
// URL: https://github.com/RobTillaart/PulsePattern
#if !defined(__AVR__)
... |
//
// FILE: radar.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.9
// PURPOSE: Arduino library for a pan tilt radar.
// URL: https://github.com/RobTillaart/RADAR
#include "radar.h"
////////////////////////////////////////////////////////////
//
// CONSTRUCTOR
//
RADAR::RADAR(const uint8_t pinPan, const uint8_... |
#pragma once
//
// FILE: radar.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.9
// PURPOSE: Arduino library for a pan tilt radar.
// URL: https://github.com/RobTillaart/RADAR
#include "Arduino.h"
#define RADAR_LIB_VERSION (F("0.1.9"))
// TODO # positions in a begin() or constructor?
#ifndef RADAR_POSI... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-07
// PURPOSE: unit tests for the RADAR class
// https://github.com/RobTillaart/RADAR
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// assert... |
//
// FILE: rain.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.5
// DATE: 2021-12-03
// PURPOSE: Arduino library for a rain sensor
// URL: https://github.com/RobTillaart/RAIN
// https://www.tinytronics.nl/shop/nl/sensoren/vloeistof/regensensor
#include "rain.h"
RAIN::RAIN(uint8_t analogPort, uint8... |
#pragma once
//
// FILE: rain.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.5
// DATE: 2022-11-23
// PURPOSE: Arduino library for rain sensor (analog).
// URL: https://github.com/RobTillaart/RAIN
// https://www.tinytronics.nl/shop/nl/sensoren/vloeistof/regensensor
#include "Arduino.h"
#define RAIN_L... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2022-12-03
// PURPOSE: unit tests for the RAIN sensor
// https://github.com/RobTillaart/RAIN
// https://www.adafruit.com/product/2857
// https://www.tinytronics.nl/shop/nl/sensoren/vloeistof/regensensor
//
// supported ass... |
//
// FILE: randomHelpers.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.8
// PURPOSE: Arduino library with helper function for faster random bits
// URL: https://github.com/RobTillaart/randomHelpers
#include "randomHelpers.h"
// the idea is to have one buffer ( __randomBuffer) which holds 32 random bits.
//... |
#pragma once
//
// FILE: randomHelpers.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.8
// PURPOSE: Arduino library with helper function for faster random bits
// URL: https://github.com/RobTillaart/randomHelpers
#include "Arduino.h"
#define RANDOM_HELPERS_VERSION (F("0.2.8"))
// the idea is to ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-07
// PURPOSE: unit tests for the randomHelpers.h file
// https://github.com/RobTillaart/randomHelpers
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ---------------------... |
#pragma once
//
// FILE: relativity.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.6
// PURPOSE: Collection relativity formulas
// URL: https://github.com/RobTillaart/relativity
#include "Arduino.h"
#define RELATIVITY_LIB_VERSION (F("0.1.6"))
class relativity
{
public:
relativity()
{
_speed = ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-05-29
// PURPOSE: unit tests for the relativity library
// https://github.com/RobTillaart/relativity
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// --------------------------... |
#pragma once
//
// FILE: RLCBuffer.h
// AUTHOR: Rob Tillaart
// DATE: 2025-10-26
// VERSION: 0.1.0
// PURPOSE: Arduino library for a Run Length Compressed circular buffer.
// URL: https://github.com/RobTillaart/RLCBuffer
//
#include "Arduino.h"
#define RLCBUFFER_LIB_VERSION (F("0.1.0"))
// ERRO... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-10-26
// PURPOSE: unit tests for the RLCBuffer library
// URL: https://github.com/RobTillaart/RLCBuffer
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Arduino-C... |
//
// FILE: rotaryDecoder.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.4.0
// DATE: 2021-05-08
// PURPOSE: Arduino library for a PCF8574 based rotary decoder
// URL: https://github.com/RobTillaart/rotaryDecoder
#include "rotaryDecoder.h"
/////////////////////////////////////////////////////
//
// CONSTRUCT... |
#pragma once
//
// FILE: rotaryDecoder.h
// AUTHOR: Rob Tillaart
// VERSION: 0.4.0
// DATE: 2021-05-08
// PURPOSE: Arduino library for a PCF8574 based rotary decoder
// URL: https://github.com/RobTillaart/rotaryDecoder
#include "Arduino.h"
#include "Wire.h"
#define ROTARY_DECODER_LIB_VERSION (F("0... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-07
// PURPOSE: unit tests for the rotaryDecoder library
// https://github.com/RobTillaart/rotaryDecoder
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// --------------------... |
//
// FILE: rotaryDecoder8.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// DATE: 2025-01-06
// PURPOSE: Arduino library for a PCF8575 based rotary decoder
// URL: https://github.com/RobTillaart/rotaryDecoder8
#include "rotaryDecoder8.h"
/////////////////////////////////////////////////////
//
// CONSTR... |
#pragma once
//
// FILE: rotaryDecoder.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// DATE: 2025-01-06
// PURPOSE: Arduino library for a PCF8575 based rotary decoder
// URL: https://github.com/RobTillaart/rotaryDecoder8
#include "Arduino.h"
#include "Wire.h"
#define ROTARY_DECODER8_LIB_VERSION (F(... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-01-06
// PURPOSE: unit tests for the rotaryDecoder library
// https://github.com/RobTillaart/rotaryDecoder8
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// -------------------... |
//
// FILE: rotaryDecoderSwitch.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.4.0
// DATE: 2021-05-17
// PURPOSE: Arduino library for a PCF8574 based rotary decoder (with switch)
// URL: https://github.com/RobTillaart/rotaryDecoderSwitch
#include "rotaryDecoderSwitch.h"
//////////////////////////////////////... |
#pragma once
//
// FILE: rotaryDecoderSwitch.h
// AUTHOR: Rob Tillaart
// VERSION: 0.4.0
// DATE: 2021-05-17
// PURPOSE: Arduino library for a PCF8574 based rotary decoder (with switch)
// URL: https://github.com/RobTillaart/rotaryDecoderSwitch
#include "Arduino.h"
#include "Wire.h"
#define ROTARY_DECODER... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-07
// PURPOSE: unit tests for the rataryDecoderSwitch library
// https://github.com/RobTillaart/rotaryDecoderSwitch
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// --------... |
//
// FILE: rotaryDecoderSwitch5.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2025-01-13
// PURPOSE: Arduino library for a PCF8575 based rotary decoder (with switch)
// URL: https://github.com/RobTillaart/rotaryDecoderSwitch5
#include "rotaryDecoderSwitch5.h"
///////////////////////////////////... |
#pragma once
//
// FILE: rotaryDecoderSwitch5.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2025-01-13
// PURPOSE: Arduino library for a PCF8575 based rotary decoder (with switch)
// URL: https://github.com/RobTillaart/rotaryDecoderSwitch5
#include "Arduino.h"
#include "Wire.h"
#define ROTARY_DECOD... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-01-13
// PURPOSE: unit tests for the rataryDecoderSwitch5 library
// https://github.com/RobTillaart/rotaryDecoderSwitch5
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ------... |
#pragma once
//
// FILE: ASCII_CONTROL.h
// AUTHOR: Rob Tillaart
// DATE: 2020-08-26
// PURPOSE: ASCII control characters
// URL: https://github.com/RobTillaart/RS485
#define ASCII_NUL 0x00 // NULL char
#define ASCII_SOH 0x01 // Start Of Header
#define ASCII_STX 0x02 // Start of Tex... |
//
// FILE: RS485.cpp
// AUTHOR: Rob Tillaart
// DATE: 30-okt-2017
// VERSION: 0.5.1
// PURPOSE: Arduino library for RS485 modules (MAX485)
// URL: https://github.com/RobTillaart/RS485
#include "RS485.h"
// - a stream - SWserial of HW serial (preferred)
// - a pin for TX- enable line
// - slave ID, or... |
#pragma once
//
// FILE: RS485.h
// AUTHOR: Rob Tillaart
// DATE: 30-okt-2017
// VERSION: 0.5.1
// PURPOSE: Arduino library for RS485 modules
// URL: https://github.com/RobTillaart/RS485
#include "Arduino.h"
#include "ASCII_CONTROL.h"
#define RS485_LIB_VERSION (F("0.5.1"))
class RS485 : public St... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2022-05-24
// PURPOSE: unit tests for RS485
// https://github.com/RobTillaart/RS485
//
// supported assertions
// ----------------------------
// assertEqual(expected, actual); // a == b
// assertNotEqual(un... |
//
// FILE: RunAvgWeight.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.1
// DATE: 2024-06-30
// PURPOSE: Arduino library to calculate the running average with weights by means of a circular buffer
// URL: https://github.com/RobTillaart/RunAvgWeight
//
// based upon: https://github.com/RobTillaart/RunningAvera... |
#pragma once
//
// FILE: RunAvgWeight.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.1
// DATE: 2024-06-30
// PURPOSE: Arduino library to calculate the running average with weights by means of a circular buffer
// URL: https://github.com/RobTillaart/RunAvgWeight
//
// based upon: https://github.com/RobTillaart/R... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2024-06-30
// PURPOSE: unit tests for RunAvgWeight
// https://github.com/RobTillaart/RunAvgWeight
//
// supported assertions
// ----------------------------
// assertEqual(expected, actual); // a == b
// ass... |
//
// FILE: runningAngle.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.2
// PURPOSE: Library to average angles by means of low pass filtering with wrapping.
// URL: https://github.com/RobTillaart/runningAngle
// RELATED: https://github.com/RobTillaart/AverageAngle
#include "runningAngle.h"
runningAngle::runni... |
#pragma once
//
// FILE: runningAngle.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.2
// PURPOSE: Library to average angles by means of low pass filtering with wrapping.
// URL: https://github.com/RobTillaart/runningAngle
// RELATED: https://github.com/RobTillaart/AverageAngle
#include "Arduino.h"
#include "math.... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-07
// PURPOSE: unit tests for the runningAngle library
// https://github.com/RobTillaart/runningAngle
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------... |
//
// FILE: RunningAverage.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.4.8
// DATE: 2011-01-30
// PURPOSE: Arduino library to calculate the running average by means of a circular buffer
// URL: https://github.com/RobTillaart/RunningAverage
//
// The library stores N individual values in a circular buffer,
// ... |
#pragma once
//
// FILE: RunningAverage.h
// AUTHOR: Rob Tillaart
// VERSION: 0.4.8
// DATE: 2011-01-30
// PURPOSE: Arduino library to calculate the running average by means of a circular buffer
// URL: https://github.com/RobTillaart/RunningAverage
//
// The library stores N individual values in a circular ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2020-12-03
// PURPOSE: unit tests for runningAverage
// https://github.com/RobTillaart/RunningAverage
//
// supported assertions
// ----------------------------
// assertEqual(expected, actual); // a == b
//... |
//
// FILE: RunningMedian.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.10
// PURPOSE: RunningMedian library for Arduino
#include "RunningMedian.h"
RunningMedian::RunningMedian(const uint8_t size)
{
_size = size;
if (_size < MEDIAN_MIN_SIZE) _size = MEDIAN_MIN_SIZE;
#if !RUNNING_MEDIAN_USE_MALLOC
if (_size ... |
#pragma once
//
// FILE: RunningMedian.h
// AUTHOR: Rob Tillaart
// PURPOSE: RunningMedian library for Arduino
// VERSION: 0.3.10
// URL: https://github.com/RobTillaart/RunningMedian
// URL: http://arduino.cc/playground/Main/RunningMedian
// HISTORY: See RunningMedian.cpp
#include "Arduino.h"
#define RUN... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-03
// PURPOSE: unit tests for the RunningMedian
// https://github.com/RobTillaart/RunningMedian
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------... |
//
// FILE: SD2405.cpp
// AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for I2C SD2405 RTC and compatibles.
// VERSION: 0.2.0
// DATE: 2022-03-17
// URL: https://github.com/RobTillaart/SD2405
#include "SD2405.h"
/////////////////////////////////////////////////////////
//
// CONSTRUCTOR
//
SD2405::SD... |
#pragma once
//
// FILE: SD2405.h
// AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for I2C SD2405 RTC and compatibles.
// VERSION: 0.2.0
// DATE: 2022-03-17
// URL: https://github.com/RobTillaart/SD2405
#include "Arduino.h"
#include "Wire.h"
#define SD2405_LIB_VERSION (F("0.2.0"))
// ERRO... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2024-12-02
// PURPOSE: unit tests for the SD2405 RTC
// https://github.com/RobTillaart/SD2405
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// assert... |
//
// FILE: set.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.8
// DATE: 2014-09-11
// PURPOSE: SET library for Arduino
// URL: https://github.com/RobTillaart/SET
#include "set.h"
/////////////////////////////////////////////////////
//
// CONSTRUCTORS
//
Set::Set(const bool clear)
{
if (clear)
{
... |
#pragma once
//
// FILE: set.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.8
// DATE: 2014-09-11
// PURPOSE: SET library for Arduino
// URL: https://github.com/RobTillaart/SET
#include "Arduino.h"
#define SET_LIB_VERSION (F("0.2.8"))
class Set
{
public:
explicit Set(const bool clear = true)... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-07
// PURPOSE: unit tests for the SET library
// https://github.com/RobTillaart/SET
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// assertEq... |
//
// FILE: SGP30.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.2
// DATE: 2021-06-24
// PURPOSE: Arduino library for SGP30 environment sensor.
// URL: https://github.com/RobTillaart/SGP30
// https://www.adafruit.com/product/3709
#include "SGP30.h"
/////////////////////////////////////////////////... |
#pragma once
//
// FILE: SGP30.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.2
// DATE: 2021-06-24
// PURPOSE: Arduino library for SGP30 environment sensor.
// URL: https://github.com/RobTillaart/SGP30
// https://www.adafruit.com/product/3709
#include "Arduino.h"
#include "Wire.h"
#define SGP30_LIB_V... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-06-24
// PURPOSE: unit tests for Arduino library for SGP30 environment sensor.
// https://github.com/RobTillaart/SGP30
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// --------... |
//
// FILE: SHEX.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.4
// PURPOSE: Arduino library to generate hex dump over Serial
// DATE: 2020-05-24
// URL: https://github.com/RobTillaart/SHEX
#include "SHEX.h"
SHEX::SHEX(Print* stream, uint8_t length)
{
_stream = stream;
reset();
// force multiple of... |
#pragma once
//
// FILE: SHEX.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.4
// PURPOSE: Arduino library to generate hex dump over Serial
// DATE: 2020-05-24
// URL: https://github.com/RobTillaart/SHEX
#include "Arduino.h"
#include "Print.h"
#define SHEX_LIB_VERSION (F("0.3.4"))
#if not def... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-07
// PURPOSE: unit tests for the SHEX Serial HEX library
// https://github.com/RobTillaart/SHEX
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ---------------------------... |
//
// FILE: ShiftInSlow.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.5
// PURPOSE: Arduino library for shiftIn with build-in delay
// DATE: 2021-05-11
// URL: https://github.com/RobTillaart/ShiftInSlow
#include "ShiftInSlow.h"
ShiftInSlow::ShiftInSlow(const uint8_t dataPin, const uint8_t clockPin, const ... |
#pragma once
//
// FILE: ShiftInSlow.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.5
// PURPOSE: Arduino library for shiftIn with build-in delay
// DATE: 2021-05-11
// URL: https://github.com/RobTillaart/ShiftInSlow
#include "Arduino.h"
#define SHIFTINSLOW_LIB_VERSION (F("0.1.5"))
class ShiftInSl... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-05-11
// PURPOSE: unit tests for the FastShiftIn library
// https://github.com/RobTillaart/shiftInSlow
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Ardui... |
//
// FILE: ShiftOutSlow.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.6
// PURPOSE: Arduino library for shiftOut with build-in delay
// DATE: 2021-05-11
// URL: https://github.com/RobTillaart/ShiftOutSlow
#include "ShiftOutSlow.h"
ShiftOutSlow::ShiftOutSlow(const uint8_t dataPin, const uint8_t clockPin, c... |
#pragma once
//
// FILE: ShiftOutSlow.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.
// PURPOSE: Arduino library for shiftOut with build-in delay
// DATE: 2021-05-11
// URL: https://github.com/RobTillaart/ShiftOutSlow
#include "Arduino.h"
#define SHIFTOUTSLOW_LIB_VERSION (F("0.1.6"))
class Shift... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-05-11
// PURPOSE: unit tests for the ShiftOutSlow library
// https://github.com/RobTillaart/ShiftOutSlow
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Ard... |
//
// FILE: SHT2x.cpp
// AUTHOR: Rob Tillaart, Viktor Balint, JensB, morfeus02
// VERSION: 0.5.3
// DATE: 2023-11-25
// PURPOSE: Arduino library for the SHT2x temperature and humidity sensor
// URL: https://github.com/RobTillaart/SHT2x
#include "SHT2x.h"
// SUPPORTED COMMANDS
#define SHT2x_GET_TEMPERATU... |
#pragma once
//
// FILE: SHT2x.h
// AUTHOR: Rob Tillaart, Viktor Balint, JensB, morfeus02
// VERSION: 0.5.3
// DATE: 2023-11-25
// PURPOSE: Arduino library for the SHT2x temperature and humidity sensor
// URL: https://github.com/RobTillaart/SHT2x
//
#include "Arduino.h"
#include "Wire.h"
#define SHT2x_LI... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2021-09-25
// PURPOSE: unit tests for the SHT2x temperature and humidity sensor
// https://github.com/RobTillaart/SHT2x
// https://www.adafruit.com/product/2857
// https://github.com/Arduino-CI/arduino_ci/... |
//
// FILE: SHT31.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.5.1
// DATE: 2019-02-08
// PURPOSE: Arduino library for the SHT31 temperature and humidity sensor
// https://www.adafruit.com/product/2857
// URL: https://github.com/RobTillaart/SHT31
#include "SHT31.h"
// SUPPORTED COMMANDS - single s... |
#pragma once
//
// FILE: SHT31.h
// AUTHOR: Rob Tillaart
// VERSION: 0.5.2
// DATE: 2019-02-08
// PURPOSE: Arduino library for the SHT31 temperature and humidity sensor
// https://www.adafruit.com/product/2857
// URL: https://github.com/RobTillaart/SHT31
#include "Arduino.h"
#include "Wire.h"
#d... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2020-12-03
// PURPOSE: unit tests for the SHT31 temperature and humidity sensor
// https://github.com/RobTillaart/SHT31
// https://www.adafruit.com/product/2857
// https://github.com/Arduino-CI/arduino_ci/... |
//
// FILE: SHT31_SW.cpp
// AUTHOR: Rob Tillaart, Gunter Haug
// VERSION: 0.3.1
// DATE: 2019-02-08 (base SHT31 lib)
// PURPOSE: Arduino library for the SHT31 temperature and humidity sensor
// to be used with the SoftWire library instead of (hardware) Wire.
// derives from SHT31 0.3.8
// U... |
#pragma once
//
// FILE: SHT31_SW.h
// AUTHOR: Rob Tillaart, Gunter Haug
// VERSION: 0.3.1
// DATE: 2019-02-08 (base SHT31 lib)
// PURPOSE: Arduino library for the SHT31 temperature and humidity sensor
// to be used with the SoftWire library instead of (hardware) Wire.
// derives from SHT31 0.3... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2020-12-03
// PURPOSE: unit tests for the SHT31 temperature and humidity sensor
// https://github.com/RobTillaart/SHT31
// https://www.adafruit.com/product/2857
// https://github.com/Arduino-CI/arduino_ci/... |
//
// FILE: SHT31_SWW.cpp
// AUTHOR: Rob Tillaart, Gunter Haug
// VERSION: 0.2.1
// DATE: 2019-02-08 (base SHT31 lib)
// PURPOSE: Arduino library for the SHT31 temperature and humidity sensor
// to be used with the SoftwareWire library instead of (hardware) Wire.
// derives from SHT31 0.3.8
// ... |
#pragma once
//
// FILE: SHT31_SWW.h
// AUTHOR: Rob Tillaart, Gunter Haug
// VERSION: 0.2.1
// DATE: 2019-02-08 (base SHT31 lib)
// PURPOSE: Arduino library for the SHT31 temperature and humidity sensor
// to be used with the SoftwareWire library instead of (hardware) Wire.
// derives from SHT3... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2020-12-03
// PURPOSE: unit tests for the SHT31 temperature and humidity sensor
// https://github.com/RobTillaart/SHT31_SWW
// https://www.adafruit.com/product/2857
// https://github.com/Arduino-CI/arduino... |
//
// FILE: SHT4x.cpp
// AUTHOR: Samuel Cuerrier Auclair
// AUTHOR: Rob Tillaart
// VERSION: 0.0.3
// DATE: 2025-08-11
// PURPOSE: Arduino library for the SHT4x temperature and humidity sensor. High precision sensor with I2C interface.
// This is a fork of the SHT31 library by Rob Tillaart, modified to... |
#pragma once
//
// FILE: SHT4x.h
// AUTHOR: Samuel Cuerrier Auclair
// AUTHOR: Rob Tillaart
// VERSION: 0.0.3
// DATE: 2025-08-11
// PURPOSE: Arduino library for the SHT4x temperature and humidity sensor. High precision sensor with I2C interface.
// This is a fork of the SHT31 library by Rob Tillaart, ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2025-09-23
// PURPOSE: unit tests for the SHT4x temperature and humidity sensor
// https://github.com/RobTillaart/SHT4x
// https://www.adafruit.com/product/2857
// https://github.com/Arduino-CI/arduino_ci/... |
//
// FILE: SHT85.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.6.2
// DATE: 2021-02-10
// PURPOSE: Arduino library for the SHT85 temperature and humidity sensor
// https://nl.rs-online.com/web/p/temperature-humidity-sensor-ics/1826530
// URL: https://github.com/RobTillaart/SHT85
#include "SHT85.h"
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.