text stringlengths 1 24.5M |
|---|
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2024-10-25
// PURPOSE: unit tests for the AD5660 DA convertor.
// https://github.com/RobTillaart/AD5660
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------... |
//
// FILE: AD5680.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.4.0
// DATE: 2023-09-19
// PURPOSE: Arduino library for AD5680 Digital Analog Convertor (18 bit).
#include "AD5680.h"
// HARDWARE SPI
AD5680::AD5680(uint8_t slaveSelect, __SPI_CLASS__ * mySPI)
{
_select = slaveSelect;
_hwSPI = true;
_... |
#pragma once
//
// FILE: AD5680.h
// AUTHOR: Rob Tillaart
// VERSION: 0.4.0
// DATE: 2023-09-19
// PURPOSE: Arduino library for AD5680 Digital Analog Convertor (18 bit).
#include "Arduino.h"
#include "SPI.h"
#define AD5680_LIB_VERSION (F("0.4.0"))
#ifndef __SPI_CLASS__
// MBED must be tested befor... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-09-19
// PURPOSE: unit tests for the AD5680 DA convertor.
// https://github.com/RobTillaart/AD5680
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------... |
//
// FILE: AD568X.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.1
// DATE: 2023-09-18
// PURPOSE: Arduino library for AD568X series Digital Analog Convertor.
// URL: https://github.com/RobTillaart/AD568X
#include "AD568X.h"
// not all "commands" implemented
#define AD568X_REG_NOP 0x00
#define ... |
#pragma once
//
// FILE: AD568X.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.1
// DATE: 2023-09-18
// PURPOSE: Arduino library for AD568X series Digital Analog Convertor.
// URL: https://github.com/RobTillaart/AD568X
#include "Arduino.h"
#include "SPI.h"
#define AD568X_LIB_VERSION (F("0.3.1"))
#ifnd... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-09-18
// PURPOSE: unit tests for the AD568X DA convertor.
// https://github.com/RobTillaart/AD568X
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------... |
//
// FILE: AD56X8.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.1
// DATE: 2022-07-28
// PURPOSE: Arduino library for AD56X8, SPI 8 channel Digital Analog Convertor.
#include "AD56X8.h"
// not all "commands" implemented yet
#define AD56X8_REG_WRITE 0x00
#define AD56X8_REG_UPDATE 0x01
#define... |
#pragma once
//
// FILE: AD56X8.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.1
// DATE: 2022-07-28
// PURPOSE: Arduino library for AD56X8, SPI 8 channel Digital Analog Convertor.
#include "Arduino.h"
#include "SPI.h"
#define AD56X8_LIB_VERSION (F("0.3.1"))
#ifndef __SPI_CLASS__
// MBED must be tested... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2022-07-28
// PURPOSE: unit tests for the AD56X8 DA convertor.
// https://github.com/RobTillaart/AD56X8
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------... |
//
// FILE: AD7367.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// DATE: 2025-01-10
// PURPOSE: Arduino library for the AD7367, 2 channel simultaneous sampling 14 bit ADC.
// URL: https://github.com/RobTillaart/AD7367
#include "AD7367.h"
AD7367::AD7367(uint8_t select, uint8_t clock, uint8_t convert, uin... |
#pragma once
//
// FILE: AD7367.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// DATE: 2025-01-10
// PURPOSE: Arduino library for the AD7367, 2 channel simultaneous sampling 14 bit ADC.
// Also AD7366 == 12 bits.
// URL: https://github.com/RobTillaart/AD7367
#include "Arduino.h"
#define AD7367_LIB_... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-01-25
// PURPOSE: unit tests for the Arduino library for the AD7367, 2 channel simultaneous sampling 14 bit ADC.
// https://github.com/RobTillaart/AD7367
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
... |
//
// FILE: AD7367_SPI.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// DATE: 2025-02-10
// PURPOSE: Arduino library for the AD7367, 2 channel consecutive sampling 14 bit ADC.
// URL: https://github.com/RobTillaart/AD7367_SPI
#include "AD7367_SPI.h"
AD7367_SPI::AD7367_SPI(uint8_t select, uint8_t convert,... |
#pragma once
//
// FILE: AD7367_SPI.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// DATE: 2025-02-10
// PURPOSE: Arduino library for the AD7367, 2 channel consecutive sampling 14 bit ADC.
// Also AD7366 == 12 bits.
// URL: https://github.com/RobTillaart/AD7367_SPI
#include "Arduino.h"
#include "SPI... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-02-10
// PURPOSE: unit tests for the Arduino library for the AD7367, 2 channel consecutive sampling 14 bit ADC.
// https://github.com/RobTillaart/AD7367
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
/... |
//
// FILE: AD7390.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// DATE: 2025-06-14
// PURPOSE: Arduino library for AD7390/AD7391 12/10 bit SPI DAC.
// URL: https://github.com/RobTillaart/AD7390
#include "AD7390.h"
// SOFTWARE SPI
AD7390::AD7390(uint8_t select, uint8_t clear, uint8_t dataOut, uint8_t cl... |
#pragma once
//
// FILE: AD7390.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// DATE: 2025-06-14
// PURPOSE: Arduino library for AD7390/AD7391 12/10 bit SPI DAC.
// URL: https://github.com/RobTillaart/AD7390
#include "Arduino.h"
#include "SPI.h"
#define AD7390_LIB_VERSION (F("0.1.1"))
#ifnde... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2025-06-14
// PURPOSE: unit tests for the AD7390/ AD7391 DACs
// https://github.com/RobTillaart/AD7390
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// -----------... |
#pragma once
//
// FILE: AD8495.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// DATE: 2024-11-07
// PURPOSE: Arduino library for AD8495 Thermocouple
// URL: https://github.com/RobTillaart/AD8495
#include "Arduino.h"
#define AD8495_LIB_VERSION (F("0.1.1"))
/////////////////////////////////////////... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2024-11-07
// PURPOSE: unit tests for the AD8495 library
// URL: https://github.com/RobTillaart/AD8495
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Arduino-CI/ardu... |
//
// FILE: AD9833.cpp
// AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for AD9833 function generator
// DATE: 2023-08-25
// VERSION: 0.4.3
// URL: https://github.com/RobTillaart/AD9833
#include "AD9833.h"
// FREQUENCY REGISTER BITS
#define AD9833_FREG1 0x8000
#define AD9833_FREG0 0x400... |
#pragma once
//
// FILE: AD9833.h
// AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for AD9833 function generator.
// DATE: 2023-08-25
// VERSION: 0.4.3
// URL: https://github.com/RobTillaart/AD9833
#include "Arduino.h"
#include "SPI.h"
#define AD9833_LIB_VERSION (F("0.4.3"))
#ifndef __SPI_CLASS_... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-08-27
// PURPOSE: unit tests for the AD9833 function generator
// https://github.com/RobTillaart/AD9833
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// -----------------------... |
//
// FILE: AD985X.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.7.2
// DATE: 2019-02-08
// PURPOSE: Class for AD9850 and AD9851 function generator
// URL: https://github.com/RobTillaart/AD985X
#include "AD985X.h"
// UNO HARDWARE SPI PINS
// #define SPI_CLOCK 13 // not portabl... |
#pragma once
//
// FILE: AD985X.h
// AUTHOR: Rob Tillaart
// VERSION: 0.7.2
// DATE: 2019-02-08
// PURPOSE: Class for AD9850 and AD9851 function generator
// URL: https://github.com/RobTillaart/AD985X
#include "Arduino.h"
#include "SPI.h"
#define AD985X_LIB_VERSION (F("0.7.2"))
#ifndef __SPI_CLA... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-12-03
// PURPOSE: unit tests for the AD9850 and AD9851 function generator
// https://github.com/RobTillaart/AD985X
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ------------... |
//
// FILE: ADC081S.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2024-01-10
// PURPOSE: Arduino library for ADC081S 8 bit ADC (SPI)
// URL: https://github.com/RobTillaart/ADC081S
#include "ADC081S.h"
// HARDWARE SPI
ADC081S::ADC081S(__SPI_CLASS__ * mySPI)
{
_dataIn = 255;
_clock ... |
#pragma once
//
// FILE: ADC081S.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2024-01-10
// PURPOSE: Arduino library for ADC081S 8 bit ADC (SPI)
// URL: https://github.com/RobTillaart/ADC081S
//
#include "Arduino.h"
#include "SPI.h"
#define ADC081S_LIB_VERSION (F("0.3.0"))
#ifndef __SPI_C... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2024-01-10
// PURPOSE: unit tests for the ADC081S
// https://github.com/RobTillaart/ADC081S
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// assertEq... |
//
// FILE: ADC08XS.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.1
// DATE: 2024-01-13
// PURPOSE: Arduino library for ADC082S, ADC084S, ADC102S, ADC104S, ADC122S, ADC124S,
// 8, 10, 12 bits, 2 or 4 channel ADC (SPI).
// URL: https://github.com/RobTillaart/ADC08XS
#include "ADC0... |
#pragma once
//
// FILE: ADC08XS.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.1
// DATE: 2024-01-13
// PURPOSE: Arduino library for ADC082S, ADC084S, ADC102S, ADC104S, ADC122S, ADC124S,
// 8, 10, 12 bits, 2 or 4 channel ADC (SPI).
// URL: https://github.com/RobTillaart/ADC08XS
//
... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2024-01-10
// PURPOSE: unit tests for the ADC081S
// https://github.com/RobTillaart/ADC081S
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// assertEq... |
//
// FILE: ADG2128.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-02-28
// VERSION: 0.2.0
// PURPOSE: Arduino library for ADG2128 8x12 (cross-point) matrix switch with I2C.
// URL: https://github.com/RobTillaart/ADG2128
#include "ADG2128.h"
#define ADG2128_LATCHED_MODE 0x00
#define ADG2128_DIRECT_MODE... |
#pragma once
//
// FILE: ADG2128.h
// AUTHOR: Rob Tillaart
// DATE: 2025-02-28
// VERSION: 0.2.0
// PURPOSE: Arduino library for ADG2128 8x12 (cross-point) matrix switch with I2C.
// URL: https://github.com/RobTillaart/ADG2128
//
#include "Arduino.h"
#include "Wire.h"
#define ADG2128_LIB_VERSION ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-02-28
// PURPOSE: unit tests for the ADG2128 library
// URL: https://github.com/RobTillaart/ADG2128
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Arduino-CI/ar... |
//
// FILE: ADG2188.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-02-28
// VERSION: 0.2.0
// PURPOSE: Arduino library for ADG2188 8x8 (cross-point) matrix switch with I2C.
// URL: https://github.com/RobTillaart/ADG2188
#include "ADG2188.h"
#define ADG2188_LATCHED_MODE 0x00
#define ADG2188_DIRECT_MODE ... |
#pragma once
//
// FILE: ADG2188.h
// AUTHOR: Rob Tillaart
// DATE: 2025-02-28
// VERSION: 0.2.0
// PURPOSE: Arduino library for ADG2188 8x8 (cross-point) matrix switch with I2C.
// URL: https://github.com/RobTillaart/ADG2188
//
#include "Arduino.h"
#include "Wire.h"
#define ADG2188_LIB_VERSION ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-02-28
// PURPOSE: unit tests for the ADG2188 library
// URL: https://github.com/RobTillaart/ADG2188
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Arduino-CI/ar... |
#pragma once
//
// FILE: ADG725.h
// AUTHOR: Rob Tillaart
// DATE: 2023-07-24
// VERSION: 0.1.3
// PURPOSE: Arduino library for ADG725 - 16 to 1 channel (2x) multiplexer
// URL: https://github.com/RobTillaart/ADG725
#include "Arduino.h"
#define ADG725_LIB_VERSION (F("0.1.3"))
#define ADG725_ALLOF... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-07-24
// PURPOSE: unit tests for the ADG725 library
// https://github.com/RobTillaart/ADG725
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// as... |
#pragma once
//
// FILE: ADG726.h
// AUTHOR: Rob Tillaart
// DATE: 2023-07-24
// VERSION: 0.1.3
// PURPOSE: Arduino library for ADG726 - 16 to 1 channel (2x) multiplexer
// URL: https://github.com/RobTillaart/ADG726
#include "Arduino.h"
#define ADG726_LIB_VERSION (F("0.1.3"))
#define ADG726_ALLOF... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-07-25
// PURPOSE: unit tests for the ADG726 library
// https://github.com/RobTillaart/ADG726
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// as... |
//
// FILE: ADG728.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.2
// DATE: 2024-07-03
// PURPOSE: Arduino Library for I2C ADG728 matrix switch. 1x8 Multiplexer.
// URL: https://github.com/RobTillaart/ADG728
// https://www.adafruit.com/product/5899
#include "ADG728.h"
ADG728::ADG728(uint8_t device... |
#pragma once
//
// FILE: ADG728.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.2
// DATE: 2024-07-03
// PURPOSE: Arduino Library for I2C ADG728 matrix switch. 1x8 Multiplexer.
// URL: https://github.com/RobTillaart/ADG728
// https://www.adafruit.com/product/5899
#include "Arduino.h"
#include "Wire.h"
... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2021-03-16
// PURPOSE: unit tests for the ADG728 I2C matrix switch. Multiplexer.
// https://github.com/RobTillaart/ADG728
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assert... |
//
// FILE: ADG729.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.2
// DATE: 2024-07-03
// PURPOSE: Arduino Library for I2C ADG729 matrix switch. 2x4 Multiplexer.
// URL: https://github.com/RobTillaart/ADG729
#include "ADG729.h"
ADG729::ADG729(uint8_t deviceAddress, TwoWire *wire)
{
_address = deviceAddr... |
#pragma once
//
// FILE: ADG729.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.2
// DATE: 2024-07-03
// PURPOSE: Arduino Library for I2C ADG729 matrix switch. 2x4 Multiplexer.
// URL: https://github.com/RobTillaart/ADG729
// https://www.adafruit.com/product/5932
#include "Arduino.h"
#include "Wire.h"
... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2024-07-03
// PURPOSE: unit tests for the ADG729 I2C matrix switch. 2x4 Multiplexer.
// https://github.com/RobTillaart/ADG729
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported as... |
#pragma once
//
// FILE: ADG731.h
// AUTHOR: Rob Tillaart
// DATE: 2023-07-24
// VERSION: 0.1.3
// PURPOSE: Arduino library for ADG731 - 32 to 1 channel multiplexer
// URL: https://github.com/RobTillaart/ADG731
#include "Arduino.h"
#define ADG731_LIB_VERSION (F("0.1.3"))
#define ADG731_ALLOFF ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-07-24
// PURPOSE: unit tests for the ADG731 library
// https://github.com/RobTillaart/ADG731
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// as... |
#pragma once
//
// FILE: ADG732.h
// AUTHOR: Rob Tillaart
// DATE: 2023-07-24
// VERSION: 0.1.3
// PURPOSE: Arduino library for ADG732 - 32 to 1 channel multiplexer
// URL: https://github.com/RobTillaart/ADG732
#include "Arduino.h"
#define ADG732_LIB_VERSION (F("0.1.3"))
#define ADG732_ALLOFF ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-07-25
// PURPOSE: unit tests for the ADG732 library
// https://github.com/RobTillaart/ADG732
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// as... |
//
// FILE: Adler.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2022-01-27
// PURPOSE: Arduino Library for calculating Adler checksum
// URL: https://github.com/RobTillaart/Adler
// https://en.wikipedia.org/wiki/Adler-32
// (no Adler16 reference, implementation is experimental)
#... |
#pragma once
//
// FILE: Adler.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2022-01-27
// PURPOSE: Arduino Library for calculating Adler checksum
// URL: https://github.com/RobTillaart/Adler
// https://en.wikipedia.org/wiki/Adler-32
#include "Arduino.h"
#define ADLER_LIB_VERSION (... |
//
// FILE: Adler16.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2022-06-14
// PURPOSE: Arduino Library for calculating Adler-16 checksum
// URL: https://github.com/RobTillaart/Adler
// https://en.wikipedia.org/wiki/Adler-32
// (no Adler16 reference, implementation is experimental... |
#pragma once
//
// FILE: Adler16.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2022-06-15
// PURPOSE: Arduino Library for calculating Adler-16 checksum
// URL: https://github.com/RobTillaart/Adler
// https://en.wikipedia.org/wiki/Adler-32
// (no Adler16 reference, implementation is e... |
//
// FILE: Adler32.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2022-01-27
// PURPOSE: Arduino Library for calculating Adler-32 checksum
// URL: https://github.com/RobTillaart/Adler
// https://en.wikipedia.org/wiki/Adler-32
#include "Adler32.h"
Adler32::Adler32()
{
begin(1, 0);
}
... |
#pragma once
//
// FILE: Adler32.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2022-01-27
// PURPOSE: Arduino Library for calculating Adler-32 checksum
// URL: https://github.com/RobTillaart/Adler
// https://en.wikipedia.org/wiki/Adler-32
#include "Arduino.h"
#define ADLER32_LIB_VERSION ... |
//
// FILE: Adler64.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2025-08-14
// PURPOSE: Arduino Library for calculating Adler-64 checksum
// URL: https://github.com/RobTillaart/Adler
// https://en.wikipedia.org/wiki/Adler-32
#include "Adler64.h"
Adler64::Adler64()
{
begin(1, 0);
}
... |
#pragma once
//
// FILE: Adler64.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2025-08-14
// PURPOSE: Arduino Library for calculating Adler-64 checksum
// URL: https://github.com/RobTillaart/Adler
// https://en.wikipedia.org/wiki/Adler-32
#include "Arduino.h"
#define ADLER64_LIB_VERSION ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2022-01-25
// PURPOSE: unit tests for the Adler library
// https://github.com/RobTillaart/Adler
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Arduino-CI/arduin... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2022-01-25
// PURPOSE: unit tests for the Adler library
// https://github.com/RobTillaart/Adler
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Arduino-CI/arduin... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2022-01-25
// PURPOSE: unit tests for the Adler library
// https://github.com/RobTillaart/Adler
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Arduino-CI/arduin... |
//
// FILE: ADS1X15.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.5.4
// DATE: 2013-03-24
// PURPOSE: Arduino library for ADS1015 and ADS1115
// URL: https://github.com/RobTillaart/ADS1X15
#include "ADS1X15.h"
#define ADS1015_CONVERSION_DELAY ( 1 )
#define ADS1115_CONVERSION_DELAY ( 8 )
// Kept #def... |
#pragma once
//
// FILE: ADS1X15.h
// AUTHOR: Rob Tillaart
// VERSION: 0.5.4
// DATE: 2013-03-24
// PURPOSE: Arduino library for ADS1015 and ADS1115
// URL: https://github.com/RobTillaart/ADS1X15
//
#include "Arduino.h"
#include "Wire.h"
#define ADS1X15_LIB_VERSION (F("0.5.4"))
// allow co... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-12-03
// PURPOSE: unit tests for the SHT31 temperature and humidity sensor
// https://github.com/RobTillaart/ADS1X15
//
// supported assertions
// ----------------------------
// assertEqual(expected, actual)
// assertNotEqual(expected... |
//
// FILE: ADT7470.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.2
// PURPOSE: Arduino library for I2C ADT7470 Fan Monitoring
// URL: https://github.com/RobTillaart/ADT7470
// http://forum.arduino.cc/index.php?topic=363218.0
//
#include "ADT7470.h"
// CONFIG REGISTER 1
#define ADT7470_CONFIG_REGISTE... |
#pragma once
//
// FILE: ADT7470.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.2
// PURPOSE: Arduino library for I2C ADT7470 Fan Monitoring
// URL: https://github.com/RobTillaart/ADT7470
// http://forum.arduino.cc/index.php?topic=363218.0
#include "Arduino.h"
#include "Wire.h"
#define ADT7470_LIB_VERSIO... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-12-09
// PURPOSE: unit tests for the ADT7470 Fan Monitoring library
// https://github.com/RobTillaart/ADT7470
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// -----------------... |
//
// FILE: AGS02MA.cpp
// AUTHOR: Rob Tillaart, Viktor Balint, Beanow
// DATE: 2021-08-12
// VERSION: 0.4.3
// PURPOSE: Arduino library for AGS02MA TVOC sensor
// URL: https://github.com/RobTillaart/AGS02MA
#include "AGS02MA.h"
// REGISTERS
#define AGS02MA_DATA 0x00
#define AGS02MA_CAL... |
#pragma once
//
// FILE: AGS02MA.h
// AUTHOR: Rob Tillaart, Viktor Balint, Beanow
// DATE: 2021-08-12
// VERSION: 0.4.3
// PURPOSE: Arduino library for AGS02MA TVOC sensor
// URL: https://github.com/RobTillaart/AGS02MA
#include "Arduino.h"
#include "Wire.h"
#define AGS02MA_LIB_VERSION (F("0.4.3")... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-08-12
// PURPOSE: unit tests for the AGS02MA TVOC sensor
// https://github.com/RobTillaart/AGS02MA
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------... |
//
// FILE: AGS2616.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-01-01
// VERSION: 0.1.0
// PURPOSE: Arduino library for AGS2616 - Hydrogen H2 sensor.
// URL: https://github.com/RobTillaart/AGS2616
#include "AGS2616.h"
// REGISTERS
#define AGS2616_PPM 0x00
#define AGS2616_CALIBRATION ... |
#pragma once
//
// FILE: AGS2616.h
// AUTHOR: Rob Tillaart
// DATE: 2025-01-11
// VERSION: 0.1.0
// PURPOSE: Arduino library for AGS2616 - Hydrogen H2 sensor.
// URL: https://github.com/RobTillaart/AGS2616
#include "Arduino.h"
#include "Wire.h"
#define AGS2616_LIB_VERSION (F("0.1.0"))
#define AG... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-01-11
// PURPOSE: unit tests for the AGS2616 Hydrogen H2 sensor.
// https://github.com/RobTillaart/AGS2616
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// --------------------... |
//
// FILE: AGS3870.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-01-14
// VERSION: 0.1.0
// PURPOSE: Arduino library for AGS3870 - Methane CH4 sensor.
// URL: https://github.com/RobTillaart/AGS3870
#include "AGS3870.h"
// REGISTERS
#define AGS3870_PPM 0x00
#define AGS3870_CALIBRATION ... |
#pragma once
//
// FILE: AGS3870.h
// AUTHOR: Rob Tillaart
// DATE: 2025-01-14
// VERSION: 0.1.0
// PURPOSE: Arduino library for AGS3870 - Methane CH4 sensor.
// URL: https://github.com/RobTillaart/AGS3870
#include "Arduino.h"
#include "Wire.h"
#define AGS3870_LIB_VERSION (F("0.1.0"))
#define AG... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-01-14
// PURPOSE: unit tests for the AGS3870 Methane CH4 sensor.
// https://github.com/RobTillaart/AGS3870
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// --------------------... |
//
// FILE: AGS3871.cpp
// AUTHOR: Rob Tillaart, Lorna1
// DATE: 2025-01-01
// VERSION: 0.1.1
// PURPOSE: Arduino library for AGS3871 - CarbonMonoxide CO sensor.
// URL: https://github.com/RobTillaart/AGS3871
#include "AGS3871.h"
// REGISTERS
#define AGS3871_DATA 0x00
#define AGS3871_CA... |
#pragma once
//
// FILE: AGS3871.h
// AUTHOR: Rob Tillaart, Lorna1
// DATE: 2025-01-01
// VERSION: 0.1.1
// PURPOSE: Arduino library for AGS3871 - CarbonMonoxide CO sensor.
// URL: https://github.com/RobTillaart/AGS3871
#include "Arduino.h"
#include "Wire.h"
#define AGS3871_LIB_VERSION (F("0.1.1"... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-08-12
// PURPOSE: unit tests for the AGS02NA TVOC sensor
// https://github.com/RobTillaart/AGS3871
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------... |
//
// FILE: AM2315.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.1
// PURPOSE: AM2315 Temperature and Humidity sensor library for Arduino
// URL: https://github.com/RobTillaart/AM2315
#include "AM2315.h"
const uint8_t AM2315_ADDRESS = 0x5C;
// READ_DELAY for blocking read
const uint16_t AM2315_READ_DELAY = ... |
#pragma once
//
// FILE: AM2315.h
// AUTHOR: Rob Tillaart
// PURPOSE: AM2315 Temperature and Humidity sensor library for Arduino
// VERSION: 0.2.1
// URL: https://github.com/RobTillaart/AM2315
//
// AM232X PIN layout AM2315 COLOR
// ============================================
// bottom view DE... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2022-01-05
// PURPOSE: unit tests for the AM2315 temperature and humidity sensor
// https://github.com/RobTillaart/AM2315
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://gi... |
//
// FILE: AM2315C.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.1
// PURPOSE: Arduino library for AM2315C I2C temperature and humidity sensor.
#include "AM2315C.h"
// set AM2315C_WIRE_TIME_OUT to 0 to disable.
// note this timeout is commented in code below.
#define AM2315C_WIRE_TIME_OUT 250000 // ... |
#pragma once
//
// FILE: AM2315C.h
// AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for AM2315C I2C temperature and humidity sensor.
// VERSION: 0.2.1
// URL: https://github.com/RobTillaart/AM2315C
//
//
// Always check datasheet
//
// +-----------------+
// RED -------- | VDD ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-02-12
// PURPOSE: unit tests for the AM2315C library
// https://github.com/RobTillaart/AM2315C
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Arduino-CI/ar... |
//
// FILE: AM232X.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.5.2
// PURPOSE: AM232X library for AM2320 for Arduino.
// URL: https://github.com/RobTillaart/AM232X
#include "AM232X.h"
const uint8_t AM232X_ADDRESS = 0x5C;
////////////////////////////////////////////////////////////////////
//
// PUBLIC
//
AM... |
#pragma once
//
// FILE: AM232X.h
// AUTHOR: Rob Tillaart
// PURPOSE: AM232X Temperature and Humidity sensor library for Arduino
// VERSION: 0.5.2
// URL: https://github.com/RobTillaart/AM232X
//
// AM232X PIN layout AM2315 COLOR
// ============================================
// bottom view DE... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-12-03
// PURPOSE: unit tests for the AM232X temperature and humidity sensor
// https://github.com/RobTillaart/
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.c... |
//
// FILE: AMT25.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// PURPOSE: Arduino library for SPI based AMT25 series rotary encoder.
// DATE: 2025-02-08
// URL: https://github.com/RobTillaart/AMT25
// https://www.sameskydevices.com/
// 16384 steps rotary encoder 14 bit 360°
//
#includ... |
#pragma once
//
// FILE: AMT25.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// PURPOSE: Arduino library for SPI based AMT25 series rotary encoder.
// DATE: 2025-02-08
// URL: https://github.com/RobTillaart/AMT25
// https://www.sameskydevices.com/
// 16384 steps rotary encoder 14 bit 360°
/... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-02-08
// PURPOSE: unit tests for the AMT25 rotary encoder
// https://github.com/RobTillaart/AMT25
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
... |
//
// FILE: AnalogKeypad.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.6
// DATE: 2019-01-31
// PURPOSE: Class for (Robotdyn) 4x4 and 4x3 analog keypad
#include "AnalogKeypad.h"
// NOTE the MAGIC NUMBERS in rawRead() are for 8 BIT ADC
// as 8 bit compares are fast
//
// The _analogShift takes care if the AD... |
#pragma once
//
// FILE: AnalogKeypad.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.6
// DATE: 2019-01-31
// PURPOSE: Class for (Robotdyn) 4x4 and 4x3 analogue keypad
// URL: https://github.com/RobTillaart/AnalogKeypad
#include "Arduino.h"
#define ANALOGKEYPAD_LIB_VERSION (F("0.2.6"))
#define NOKEY ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-12-03
// PURPOSE: unit tests for the AnalogKeypad library
// https://github.com/RobTillaart/AnalogKeypad
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------... |
//
// FILE: AnalogPin.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.9
// DATE: 2013-09-09
// PURPOSE: wrapper for analogRead with smoothing and noise filtering
#include "AnalogPin.h"
AnalogPin::AnalogPin(const uint8_t pin)
{
_pin = pin;
_prescaler = 7;
_alpha = 0;
_noise = 0;
_rawRead()... |
#pragma once
//
// FILE: AnalogPin.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.9
// DATE: 2013-09-09
// PURPOSE: wrapper for analogRead with smoothing and noise filtering
// URL: https://github.com/RobTillaart/AnalogPin
#include "Arduino.h"
#define ANALOGPIN_LIB_VERSION (F("0.2.9"))
class AnalogPin
... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-12-10
// PURPOSE: unit tests for the AnalogPin library
// https://github.com/RobTillaart/SHT31
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.