text stringlengths 1 24.5M |
|---|
//
// FILE: I2C_24LC1025.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.3
// PURPOSE: I2C_24LC1025 library for Arduino with EEPROM I2C_24LC1025 et al.
// URL: https://github.com/RobTillaart/I2C_24LC1025
#include "I2C_24LC1025.h"
// I2C buffer needs max 2 bytes for EEPROM address
// 1 byte for EEPROM register... |
#pragma once
//
// FILE: I2C_24LC1025.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.3
// PURPOSE: I2C_24LC1025 library for Arduino with EEPROM 24LC1025 et al.
// URL: https://github.com/RobTillaart/I2C_24LC1025
#include "Arduino.h"
#include "Wire.h"
#define I2C_24LC1025_LIB_VERSION (F("0.3.3"))
#define I2C... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-12-22
// PURPOSE: unit tests for the I2C_24LC1025 library
// https://github.com/RobTillaart/I2C_24LC1025
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------... |
//
// FILE: I2C_ASDX.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.4.1
// PURPOSE: Arduino library for I2C ASDX pressure sensor
// URL: https://github.com/RobTillaart/I2C_ASDX
#include "I2C_ASDX.h"
I2C_ASDX::I2C_ASDX(uint8_t address, uint8_t psi, TwoWire *wire)
{
reset();
_address = address;
_wire ... |
#pragma once
//
// FILE: I2C_ASDX.h
// AUTHOR: Rob Tillaart
// VERSION: 0.4.1
// PURPOSE: Arduino library for I2C ASDX pressure sensor.
// URL: https://github.com/RobTillaart/I2C_ASDX
// TESTED TYPES - type A 10% - 90% only
//
// ADDRESS PRESSURE RANGE TYPE P A T V
// 0x58 100 psi ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-12-03
// PURPOSE: unit tests for the I2C_ASDX pressure sensor library
// https://github.com/RobTillaart/I2C_ASDX
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// --------------... |
//
// FILE: I2C_CAT24M01.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.2
// PURPOSE: I2C_CAT24M01 library for Arduino with EEPROM I2C_CAT24M01 et al.
// URL: https://github.com/RobTillaart/I2C_CAT24M01
#include "I2C_CAT24M01.h"
// I2C buffer needs max 2 bytes for EEPROM address
// 1 byte for EEPROM register... |
#pragma once
//
// FILE: I2C_CAT24M01.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.2
// PURPOSE: I2C_CAT24M01 library for Arduino with EEPROM CAT24M01 et al.
// URL: https://github.com/RobTillaart/I2C_CAT24M01
//
// based upon I2C_24LC1025
//
#include "Arduino.h"
#include "Wire.h"
#define I2C_CAT24M01_LIB_VER... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-12-22
// PURPOSE: unit tests for the I2C_CAT24M01 library
// https://github.com/RobTillaart/I2C_CAT24M01
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------... |
//
// FILE: I2C_eeprom.cpp
// AUTHOR: Rob Tillaart
// VERSION: 1.9.3
// PURPOSE: Arduino Library for external I2C EEPROM 24LC256 et al.
// URL: https://github.com/RobTillaart/I2C_EEPROM
#include "I2C_eeprom.h"
// Not used directly
#define I2C_PAGESIZE_24LC512 128
#define I2C_PAGESIZE_24LC256 ... |
#pragma once
//
// FILE: I2C_eeprom.h
// AUTHOR: Rob Tillaart
// VERSION: 1.9.4
// PURPOSE: Arduino Library for external I2C EEPROM 24LC256 et al.
// URL: https://github.com/RobTillaart/I2C_EEPROM
#include "Arduino.h"
#include "Wire.h"
#define I2C_EEPROM_VERSION (F("1.9.4"))
#define I2C_DEVICESIZE... |
#pragma once
//
// FILE: I2C_eeprom_cyclic_access.h
// AUTHOR: Tomas Hübner
// VERSION: 1.0.0
// PURPOSE: Supplemental utility class for I2C_EEPROM library
//
// URL: https://github.com/RobTillaart/I2C_EEPROM
#include <I2C_eeprom.h>
/**
* @brief This is a utility class for using an eeprom to store a simple... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-12-22
// PURPOSE: unit tests for the I2C_EEPROM library
// https://github.com/RobTillaart/
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// asse... |
//
// FILE: unit_test_cyclic_store.cpp
// AUTHOR: Tomas Hübner
// DATE: 2021-01-06
// PURPOSE: unit test for the I2C_eeprom_cyclic_store class of the I2C_EEPROM library
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// Note: The implementation of the I2C_eeprom_cyclic_store sh... |
//
// FILE: unit_test_page_size.cpp
// AUTHOR: Tomas Hübner
// DATE: 2021-01-08
// PURPOSE: unit test for the page size calculations of the I2C_eeprom
// library.
//
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
#include <ArduinoUnitTests.h>
#include "Arduino.h"
cl... |
//
// FILE: I2C_LCD.cpp
// AUTHOR: Rob.Tillaart
// VERSION: 0.2.5
// DATE: 2023-12-16
// PURPOSE: Arduino library for I2C_LCD
// URL: https://github.com/RobTillaart/I2C_LCD
#include "I2C_LCD.h"
// 40 us is a save value at any speed.
// 20 us is a save value for I2C at 400K.
const uint8_t I2C_LCD_CHAR_DE... |
#pragma once
//
// FILE: I2C_LCD.h
// AUTHOR: Rob.Tillaart
// VERSION: 0.2.5
// DATE: 2023-12-16
// PURPOSE: Arduino library for I2C_LCD
// URL: https://github.com/RobTillaart/I2C_LCD
#define I2C_LCD_LIB_VERSION (F("0.2.5"))
#include "Arduino.h"
#include "Wire.h"
const uint8_t POSITIVE = 1;
const ui... |
#pragma once
//
// FILE: I2C_LCD_custom_chars.h
// AUTHOR: Rob.Tillaart
// VERSION: see library.properties
// PURPOSE: Arduino library for I2C_LCD
// URL: https://github.com/RobTillaart/I2C_LCD
// https://maxpromer.github.io/LCD-Character-Creator/
//
// See examples for some more
///////////////////... |
#pragma once
//
// FILE: I2C_LCD_special_chars.h
// AUTHOR: Rob.Tillaart
// VERSION: see library.properties
// PURPOSE: Arduino library for I2C_LCD
// URL: https://github.com/RobTillaart/I2C_LCD
// SPECIAL CHARS,
// will only work on displays with ROM CODE A00
const char LCD_ALPHA = 0xE0;
const char LC... |
#pragma once
//
// FILE: I2C_LCD_spectrum_chars.h
// AUTHOR: Rob.Tillaart
// VERSION: see library.properties
// PURPOSE: Arduino library for I2C_LCD
// URL: https://github.com/RobTillaart/I2C_LCD
// https://maxpromer.github.io/LCD-Character-Creator/
//
// Not all spectra are tested with examples.
// ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-12-17
// PURPOSE: unit tests for the I2C_LCD
// https://github.com/RobTillaart/I2C_LCD
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// assertE... |
//
// FILE: I2C_SCANNER.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.1
// DATE: 2022-08-29
// PURPOSE: Arduino class to implement an I2C scanner.
// URL: https://github.com/RobTillaart/I2C_SCANNER
#include "I2C_SCANNER.h"
I2C_SCANNER::I2C_SCANNER(TwoWire *wire)
{
_wire = wire;
}
//
// CONFIGURATION
/... |
#pragma once
//
// FILE: I2C_SCANNER.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.1
// DATE: 2022-08-29
// PURPOSE: Arduino class to implement an I2C scanner.
// URL: https://github.com/RobTillaart/I2C_SCANNER
#include "Arduino.h"
#include "Wire.h"
#define I2C_SCANNER_LIB_VERSION (F("0.3.1"))
class ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2022-08-29
// PURPOSE: unit tests for the I2C_SCANNER class
// https://github.com/RobTillaart/I2C_SCANNER
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// --------------------------... |
#pragma once
//
// FILE: I2C_SoftReset.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2025-02-03
// PURPOSE: Arduino library for I2C_SoftReset, to reset stuck devices.
// URL: https://github.com/RobTillaart/I2C_SoftReset
//
// based upon description in Puya P24C08C datasheet.
#include "Arduino.h"
#... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-02-03
// PURPOSE: unit tests for the Arduino library for the I2C_SOFTRESET
// https://github.com/RobTillaart/I2C_SOFTRESET
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----... |
#pragma once
//
// FILE: IEEE754tools.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.6
// PURPOSE: manipulate IEEE754 float numbers fast
// URL: https://github.com/RobTillaart/IEEE754tools
//
// EXPERIMENTAL ==> USE WITH CARE
// not tested extensively,
#include "Arduino.h"
#define IEEE754_LIB_VERSION ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-12-03
// PURPOSE: unit tests for the IEEE754tools.h
// https://github.com/RobTillaart/IEEE754tools
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------... |
// FILE: INA219.h
// AUTHOR: Rob Tillaart
// VERSION: 0.4.1
// DATE: 2021-05-18
// PURPOSE: Arduino library for INA219 voltage, current and power sensor
// URL: https://github.com/RobTillaart/INA219
#include "INA219.h"
// REGISTER ADDRESSES
#define INA219_CONFIGURATION 0x00
#define INA219_SHU... |
#pragma once
// FILE: INA219.h
// AUTHOR: Rob Tillaart
// VERSION: 0.4.1
// DATE: 2021-05-18
// PURPOSE: Arduino library for INA219 voltage, current and power sensor
// URL: https://github.com/RobTillaart/INA219
//
// Read the datasheet for the details how to connect!
#include "Arduino.h"
#include "Wire.h... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-05-18
// PURPOSE: unit tests for the INA219 library
// https://github.com/RobTillaart/INA219
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// as... |
// FILE: INA226.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.6.5
// DATE: 2021-05-18
// PURPOSE: Arduino library for INA226 power sensor
// URL: https://github.com/RobTillaart/INA226
//
// Read the datasheet for the details
#include "INA226.h"
// REGISTERS
#define INA226_CONFIGURATION 0x00
#de... |
#pragma once
// FILE: INA226.h
// AUTHOR: Rob Tillaart
// VERSION: 0.6.5
// DATE: 2021-05-18
// PURPOSE: Arduino library for INA226 power sensor
// URL: https://github.com/RobTillaart/INA226
//
// Read the datasheet for the details
#include "Arduino.h"
#include "Wire.h"
#define INA226_LIB_VERSION ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-05-18
// PURPOSE: unit tests for the INA226 library
// https://github.com/RobTillaart/INA226
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// as... |
// FILE: INA228.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.4.0
// DATE: 2024-05-09
// PURPOSE: Arduino library for the INA228, I2C, 20 bit, voltage, current and power sensor.
// URL: https://github.com/RobTillaart/INA228
// https://www.adafruit.com/product/5832 ( 10 A version)
// h... |
#pragma once
// FILE: INA228.h
// AUTHOR: Rob Tillaart
// VERSION: 0.4.0
// DATE: 2024-05-09
// PURPOSE: Arduino library for the INA228, I2C, 20 bit, voltage, current and power sensor.
// URL: https://github.com/RobTillaart/INA228
// https://www.adafruit.com/product/5832 ( 10 A version)
//... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-05-18
// PURPOSE: unit tests for the INA228 library
// https://github.com/RobTillaart/INA228
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// as... |
// FILE: INA229.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.6.0
// DATE: 2025-01-22
// PURPOSE: Arduino library for the INA229, SPI, 20 bit, voltage, current and power sensor.
// URL: https://github.com/RobTillaart/INA229
//
// Read the datasheet for the details
#include "INA229.h"
// REGISTERS ... |
#pragma once
// FILE: INA229.h
// AUTHOR: Rob Tillaart
// VERSION: 0.6.0
// DATE: 2025-01-22
// PURPOSE: Arduino library for the INA229, SPI, 20 bit, voltage, current and power sensor.
// URL: https://github.com/RobTillaart/INA229
//
// Read the datasheet for the details
#include "Arduino.h"
#include "SPI... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-05-18
// PURPOSE: unit tests for the INA229 library
// https://github.com/RobTillaart/INA229
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// as... |
// FILE: INA236.cpp
// AUTHOR: Rob Tillaart
// ported from INA226 to INA236 by Josef Tremmel
// VERSION: 0.1.5
// DATE: 2024-05-27
// PURPOSE: Arduino library for the INA236, I2C, 16 bit, voltage, current and power sensor.
// URL: https://github.com/RobTillaart/INA236
//
// Read the datasheet for t... |
#pragma once
// FILE: INA236.h
// AUTHOR: Rob Tillaart
// ported from INA226 to INA236 by Josef Tremmel
// VERSION: 0.1.5
// DATE: 2024-05-27
// PURPOSE: Arduino library for the INA236, I2C, 16 bit, voltage, current and power sensor.
// URL: https://github.com/RobTillaart/INA236
//
// Read the data... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2024-05-27
// PURPOSE: unit tests for the INA236 library
// https://github.com/RobTillaart/INA236
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// as... |
// FILE: INA239.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2024-12-05
// PURPOSE: Arduino library for the INA239, SPI, 16 bit, voltage, current and power sensor.
// URL: https://github.com/RobTillaart/INA239
//
// Read the datasheet for the details
#include "INA239.h"
// REGISTERS ... |
#pragma once
// FILE: INA239.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2024-12-05
// PURPOSE: Arduino library for the INA239, SPI, 16 bit, voltage, current and power sensor.
// URL: https://github.com/RobTillaart/INA239
//
// Read the datasheet for the details
#include "Arduino.h"
#include "SPI... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-05-18
// PURPOSE: unit tests for the INA239 library
// https://github.com/RobTillaart/INA239
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// as... |
// FILE: INA260.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.2
// DATE: 2025-02-18
// PURPOSE: Arduino library for INA260 power sensor
// URL: https://github.com/RobTillaart/INA260
//
// Read the datasheet for the details
#include "INA260.h"
// REGISTERS
#define INA260_CONFIGURATION 0x00
#de... |
#pragma once
// FILE: INA260.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.2
// DATE: 2025-02-18
// PURPOSE: Arduino library for INA260 power sensor
// URL: https://github.com/RobTillaart/INA260
//
// Read the datasheet for the details
#include "Arduino.h"
#include "Wire.h"
#define INA260_LIB_VERSION ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-02-18
// PURPOSE: unit tests for the INA260 library
// https://github.com/RobTillaart/INA260
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// as... |
// FILE: INA3221.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.4.1
// DATE: 2024-02-05
// PURPOSE: Arduino library for the I2C INA3221 3 channel voltage and current sensor.
// URL: https://github.com/RobTillaart/INA3221_RT
//
// Read the datasheet for the details
#include "INA3221.h"
// REGISTERS
#define I... |
#pragma once
// FILE: INA3221.h
// AUTHOR: Rob Tillaart
// VERSION: 0.4.1
// DATE: 2024-02-05
// PURPOSE: Arduino library for the I2C INA3221 3 channel voltage and current sensor.
// URL: https://github.com/RobTillaart/INA3221_RT
//
// Read the datasheet for the details
#include "Arduino.h"
#include "Wire... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2024-02-05
// PURPOSE: unit tests for the INA3221 library
// https://github.com/RobTillaart/INA3221_RT
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
... |
#pragma once
//
// FILE: infiniteAverage.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.8
// PURPOSE: Calculate the average of a very large number of values.
// URL: https://github.com/RobTillaart/infiniteAverage
#include "Arduino.h"
#define IAVG_LIB_VERSION (F("0.1.8"))
class IAVG
{
public:
IAVG(... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-12-28
// PURPOSE: unit tests for the infiniteAverage
// https://github.com/RobTillaart/infiniteAverage
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ------------------------... |
#pragma once
//
// FILE: integer24.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.3
// DATE: 2023-06-22
// PURPOSE: Arduino library for the uint24_t and int24_t
// URL: https://github.com/RobTillaart/integer24
//
// uses a simple typedef
// only tested on AVR for now
#define INTEGER24_LIB_VERSION ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-06-22
// PURPOSE: unit tests for the integer24 datatype
// https://github.com/RobTillaart/integer24
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ---------------------------... |
//
// FILE: Interval.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-07-21
// VERSION: 0.1.5
// PURPOSE: Arduino library for Interval data type
// URL: https://github.com/RobTillaart/Interval
#include "Interval.h"
Interval::Interval(float lo, float hi)
{
if (lo <= hi)
{
_lo = lo;
_hi = hi;
}
el... |
#pragma once
//
// FILE: Interval.h
// AUTHOR: Rob Tillaart
// DATE: 2020-07-21
// VERSION: 0.1.5
// PURPOSE: Arduino library for Interval data type
// URL: https://github.com/RobTillaart/Interval
#include "Arduino.h"
#define INTERVAL_LIB_VERSION (F("0.1.5"))
class Interval: public Printa... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-12-30
// PURPOSE: unit tests for the Interval library
// https://github.com/RobTillaart/Interval
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
/... |
//
// FILE: Kelvin2RGB.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2018-01-31
// PURPOSE: Arduino library for converting temperature to RGB values
// URL: https://github.com/RobTillaart/Kelvin2RGB
#include "Kelvin2RGB.h"
const float DIVIDE_255 = 0.0039215686274509803921568627451;
Kelvin2RGB:... |
#pragma once
//
// FILE: Kelvin2RGB.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2018-01-31
// PURPOSE: Arduino library for converting temperature to RGB values
// URL: https://github.com/RobTillaart/Kelvin2RGB
#define KELVIN2RGB_LIB_VERSION (F("0.3.0"))
#include "Arduino.h"
// Libra... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-12-30
// PURPOSE: unit tests for the Kelvin2RGB library
// https://github.com/RobTillaart/Kelvin2RGB
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// --------------------------... |
//
// FILE: KT0803.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// PURPOSE: Arduino Library for KT0803 and KT0803K FM transmitter.
// URL: https://github.com/RobTillaart/KT0803
#include "KT0803.h"
// REGISTERS on page 7 datasheet
KT0803::KT0803(TwoWire * wire)
{
_address = 0x3E;
_wire = wire;
}
b... |
#pragma once
//
// FILE: KT0803.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// PURPOSE: Arduino Library for KT0803 and KT0803K FM transmitter
// URL: https://github.com/RobTillaart/KT0803
#include "Arduino.h"
#include "Wire.h"
#define KT0803_LIB_VERSION (F("0.3.0"))
class KT0803
{
public:
KT080... |
#pragma once
//
// FILE: Kurtosis.h
// AUTHOR: Rob Tillaart
// DATE: 2024-05-21
// VERSION: 0.1.3
// PURPOSE: Arduino library for calculating skewness and kurtosis of a dataset.
// URL: https://github.com/RobTillaart/Kurtosis
//
// code based upon https://www.johndcook.com/blog/skewness_kurtosis/
// docume... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2020-12-08
// PURPOSE: unit tests for the AD520X digital potentiometers
// https://github.com/RobTillaart/AD520X
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// -... |
#pragma once
//
// FILE: L9110.h
// AUTHOR: Rob Tillaart
// DATE: 2025-09-08
// VERSION: 0.1.0
// PURPOSE: Arduino library for L9110 motor driver.
// URL: https://github.com/RobTillaart/L9110
//
// Motor driver chip on de propeller
// TEXT ON CHIP: L9110H, AU1951AZ
#include "Arduino.h"
#define L9110_LIB... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-09-08
// PURPOSE: unit tests for the L9110 library
// URL: https://github.com/RobTillaart/L9110
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Arduino-CI/arduin... |
//
// FILE: LineFormatter.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// PURPOSE: Simple positioning wrapper class for Serial
// DATE: 2020-05-14
// URL: https://github.com/RobTillaart/LineFormatter
#include "LineFormatter.h"
LineFormatter::LineFormatter(Print* stream)
{
_stream = stream;
rese... |
#pragma once
//
// FILE: LineFormatter.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// PURPOSE: Simple positioning wrapper class for Serial / Stream
// DATE: 2020-05-14
// URL: https://github.com/RobTillaart/LineFormatter
#include "Arduino.h"
#include "Print.h"
#ifndef MAX_TAB_STOPS
#define MAX_TAB_STOPS ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-12-30
// PURPOSE: unit tests for the LineFormatter library
// https://github.com/RobTillaart/LineFormatter
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// --------------------... |
#pragma once
//
// FILE: logic.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// PURPOSE: Arduino library for evaluation of larger logic conditions.
// DATE: 2025-04-24
// URL: https://github.com/RobTillaart/logic
//
#include "Arduino.h"
#define LOGIC_LIB_VERSION (F("0.1.0"))
class logic
{
public:
... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-10-16
// PURPOSE: unit tests for the logic library
// URL: https://github.com/RobTillaart/logic
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Arduino-CI/arduin... |
//
// FILE: logicAnalyzer.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-10-20
// VERSION: 0.1.0
// PURPOSE: Arduino library for building a logicAnalyzer. (non performant).
// URL: https://github.com/RobTillaart/logicAnalyzer
#include "logicAnalyzer.h"
// could be configurable.
const int PULSE_HEIGHT = 16;
... |
#pragma once
//
// FILE: logicAnalyzer.h
// AUTHOR: Rob Tillaart
// DATE: 2025-10-20
// VERSION: 0.1.0
// PURPOSE: Arduino library for building a logicAnalyzer. (non performant).
// URL: https://github.com/RobTillaart/logicAnalyzer
//
// UNO R3 (16 MHz) can do max 10Khz
//
#include "Arduino.h"
#define LO... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-10-20
// PURPOSE: unit tests for the logicAnalyzer library
// URL: https://github.com/RobTillaart/logicAnalyzer
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/A... |
#pragma once
//
// FILE: logistic.h
// AUTHOR: Rob.Tillaart
// VERSION: 0.2.0
// DATE: 2024-01-03
// PURPOSE: Arduino library to explore the logistic formula. (chaos, bifurcation)
// URL: https://github.com/RobTillaart/Logistic
#include "Arduino.h"
#define LOGISTIC_LIB_VERSION (F("0.2.0"))
// https... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2024-01-03
// PURPOSE: unit tests for the Logistic function
// https://github.com/RobTillaart/Logistic
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
... |
//
// FILE: LTC2485.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.4
// DATE: 2025-02-21
// PURPOSE: Arduino library for LTC2485 I2C 24 bit ADC.
// URL: https://github.com/RobTillaart/LTC2485
#include "LTC2485.h"
// CONVERSION
// needed as I2C is blocked during conversion.
#define LTC2485_DELAY_1X ... |
#pragma once
//
// FILE: LTC2485.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.4
// DATE: 2025-02-21
// PURPOSE: Arduino library for LTC2485 I2C 24 bit ADC.
// URL: https://github.com/RobTillaart/LTC2485
// https://www.analog.com/en/products/ltc2485.html
#include "Arduino.h"
#include "Wire.h"
#define... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-02-21
// PURPOSE: unit tests for the LTC2485 library
// https://github.com/RobTillaart/LTC2485
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// ... |
//
// FILE: LTC2991.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2021-05-10
// PURPOSE: Library for LTC2991 temperature and voltage control IC
// URL: https://github.com/RobTillaart/LTC2991
#include "LTC2991.h"
/////////////////////////////////////////////////////
//
// REGISTERS
//
#define ST... |
#pragma once
//
// FILE: LTC2991.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2021-05-10
// PURPOSE: Library for LTC2991 temperature and voltage control IC
// URL: https://github.com/RobTillaart/LTC2991
#include "Arduino.h"
#include "Wire.h"
#define LTC2991_LIB_VERSION (F("0.3.0"))
... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-05-10
// PURPOSE: unit tests for the LTC2991 library
// https://github.com/RobTillaart/LTC2991
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// ... |
#pragma once
//
// FILE: LTR390_DFR.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.2
// DATE: 2024-04-29
// PURPOSE: Arduino library for the I2C LTR390 UV sensor (DF Robotics edition).
// URL: https://github.com/RobTillaart/LTR390_DFR
#include "Arduino.h"
#include "Wire.h"
#define LTR390_DFR_LIB_VERSION ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2024-04-29
// PURPOSE: unit tests for the LTR390 library
// URL: https://github.com/RobTillaart/LTR390_DFR
//
// supported assertions
// https://github.com/Arduino-CI/arduino_ci/blob/master/cpp/unittest/Assertion.h#L33-L42
// -------------------... |
#pragma once
//
// FILE: LTR390.h
// AUTHOR: Rob Tillaart
// DATE: 2024-04-29
// VERSION: 0.1.3
// PURPOSE: Arduino library for the I2C LTR390 UV sensor.
// URL: https://github.com/RobTillaart/LTR390_RT
#include "Arduino.h"
#include "Wire.h"
#define LTR390_LIB_VERSION (F("0.1.3"))
// LTR390 ERR... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2024-04-29
// PURPOSE: unit tests for the LTR390 library
// URL: https://github.com/RobTillaart/LTR390
//
// supported assertions
// https://github.com/Arduino-CI/arduino_ci/blob/master/cpp/unittest/Assertion.h#L33-L42
// -----------------------... |
//
// FILE: LUHN.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.2
// DATE: 2022-12-24
// PURPOSE: Arduino Library for calculating LUHN checksum.
// URL: https://github.com/RobTillaart/LUHN
#include "LUHN.h"
LUHN::LUHN()
{
_luhnEven = 0;
_luhnOdd = 0;
_count = 0;
}
bool LUHN::isValid(const char *... |
#pragma once
//
// FILE: LUHN.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.2
// DATE: 2022-12-24
// PURPOSE: Arduino Library for calculating LUHN checksum.
// URL: https://github.com/RobTillaart/LUHN
#include "Arduino.h"
#define LUHN_LIB_VERSION (F("0.2.2"))
class LUHN
{
public:
LUHN... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-05-02
// PURPOSE: unit tests for the LUHN checksum
// https://github.com/RobTillaart/LUHN
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// asser... |
//
// FILE: m5angle8.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.1
// PURPOSE: Arduino library for M5 8ANGLE 8x12 bit potentiometers
// URL: https://github.com/RobTillaart/M5ANGLE8
#include "m5angle8.h"
// REGISTERS
#define M5ANGLE8_REG_ADDRESS 0xFF
#define M5ANGLE8_REG_VERSION 0xFE
#... |
#pragma once
//
// FILE: m5angle8.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.1
// PURPOSE: Arduino library for M58ANGLE 8x12 bit potentiometers
// URL: https://github.com/RobTillaart/M5ANGLE8
#include "Arduino.h"
#include "Wire.h"
#define M5ANGLE8_LIB_VERSION (F("0.3.1"))
#define M5ANGLE8_DEFAULT_AD... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-08-03
// PURPOSE: unit tests for the M5ANGLE8 library
// https://github.com/RobTillaart/M5ANGLE8
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
/... |
//
// FILE: m5rotate8.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.4.1
// PURPOSE: Arduino library for M5 8ROTATE 8x rotary encoders
// URL: https://github.com/RobTillaart/M5ROTATE8
#include "m5rotate8.h"
// FIRMWARE V1 REGISTERS
#define M5ROTATE8_REG_ADDRESS 0xFF
#define M5ROTATE8_REG_VERSION ... |
#pragma once
//
// FILE: m5rotate8.h
// AUTHOR: Rob Tillaart
// VERSION: 0.4.1
// PURPOSE: Arduino library for M5 8ROTATE 8x rotary encoders
// URL: https://github.com/RobTillaart/M5ROTATE8
#include "Arduino.h"
#include "Wire.h"
#define M5ROTATE8_LIB_VERSION (F("0.4.1"))
#define M5ROTATE8_DEFAULT_A... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-08-03
// PURPOSE: unit tests for the M5ROTATE8 library
// https://github.com/RobTillaart/M5ROTATE8
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------... |
//
// FILE: M62429.cpp
// AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for M62429 volume control IC
// VERSION: 0.3.8
// HISTORY: See M62429.cpp2
// URL: https://github.com/RobTillaart/M62429
#include "M62429.h"
#define M62429_MAX_ATTN 87 // decibel
M62429::M62429()
{
_vol[0] = 0;
_... |
#pragma once
//
// FILE: M62429.h
// AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for M62429 volume control IC
// VERSION: 0.3.8
// URL: https://github.com/RobTillaart/M62429
#include "Arduino.h"
#define M62429_VERSION (F("0.3.8"))
// minimum pulse width CLOCK = 1.6 us (datasheet);
// dig... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2020-12-30
// PURPOSE: unit tests for the M62429 volume IC
// https://github.com/RobTillaart/M62429
// 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.