text stringlengths 1 24.5M |
|---|
#pragma once
//
// FILE: SHT85.h
// 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
//
// keep ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2021-02-10
// PURPOSE: unit tests for the SHT85 temperature and humidity sensor
// https://github.com/RobTillaart/SHT85
// https://nl.rs-online.com/web/p/temperature-humidity-sensor-ics/1826530
// https://... |
//
// FILE: simon.cpp
// AUTHOR: Rob Tillaart
// DATE: 2022-05-26
// VERSION: 0.1.4
// PURPOSE: Arduino library for SIMON
// URL: https://github.com/RobTillaart/SIMON
#include "simon.h"
SIMON::SIMON()
{
_idx = 0;
_size = 0;
}
bool SIMON::setSequence(uint8_t * array, uint8_t length)
{
if ((length... |
#pragma once
//
// FILE: simon.h
// AUTHOR: Rob Tillaart
// DATE: 2022-05-26
// VERSION: 0.1.4
// PURPOSE: Arduino library for SIMON
// URL: https://github.com/RobTillaart/SIMON
#include "Arduino.h"
#define SIMON_LIB_VERSION (F("0.1.4"))
#ifndef SIMON_MAXSIZE
#define SIMON_MAXSIZE 10
... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2022-05-26
// PURPOSE: unit tests for SIMON library
// https://github.com/RobTillaart/SIMON
//
// supported assertions
// ----------------------------
// assertEqual(expected, actual); // a == b
// assertNot... |
#pragma once
//
// FILE: SMC.h
// AUTHOR: Rob Tillaart
// DATE: 2025-02-23
// VERSION: 0.1.0
// PURPOSE: Arduino library for a Sliding Mode Controller (SMC).
// URL: https://github.com/RobTillaart/SMC
//
#include "Arduino.h"
#define SMC_LIB_VERSION (F("0.1.0"))
// MODE
#define SMC_LINEAR ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-02-23
// PURPOSE: unit tests for the Arduino library for Sliding Mode Controller
// URL: https://github.com/RobTillaart/SMC
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://... |
//
// FILE: Soundex.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.6
// DATE: 2022-02-05
// PURPOSE: Arduino Library for calculating Soundex hash
// URL: https://github.com/RobTillaart/Soundex
#include "Soundex.h"
Soundex::Soundex()
{
_buffer[0] = '\0';
_length = 4;
}
void Soundex::setLength(uint8_t l... |
#pragma once
//
// FILE: Soundex.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.6
// DATE: 2022-02-05
// PURPOSE: Arduino Library for calculating Soundex hash
// URL: https://github.com/RobTillaart/Soundex
#include "Arduino.h"
#define SOUNDEX_LIB_VERSION (F("0.1.6"))
#define SOUNDEX_MIN_LENGTH ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2022-02-05
// PURPOSE: unit tests for the Soundex library
// https://github.com/RobTillaart/Soundex
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Arduino-CI/ar... |
//
// FILE: SparseArray.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.3
// DATE: 2022-07-17
// PURPOSE: Arduino library for sparse arrays of floats
// URL: https://github.com/RobTillaart/SparseArray
#include "SparseArray.h"
SparseArray::SparseArray(uint16_t sz)
{
_count = 0;
_size = sz;
if ( _size >... |
#pragma once
//
// FILE: SparseArray.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.3
// DATE: 2022-07-17
// PURPOSE: Arduino library for sparse arrays of floats
// URL: https://github.com/RobTillaart/SparseArray
//
#include "Arduino.h"
#define SPARSEARRAY_LIB_VERSION (F("0.1.3"))
#ifndef SPARSEARRAY_M... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2022-07-18
// PURPOSE: unit tests for SparseArray library
// https://github.com/RobTillaart/SparseArray
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------... |
//
// FILE: SparseMatrix.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.0
// DATE: 2022-07-12
// PURPOSE: Arduino library for sparse matrices
// URL: https://github.com/RobTillaart/SparseMatrix
#include "SparseMatrix.h"
SparseMatrix::SparseMatrix(uint16_t size)
{
_count = 0;
_size = size;
if ( _size ... |
#pragma once
//
// FILE: SparseMatrix.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.0
// DATE: 2022-07-12
// PURPOSE: Arduino library for sparse matrices
// URL: https://github.com/RobTillaart/SparseMatrix
//
#include "Arduino.h"
#define SPARSEMATRIX_LIB_VERSION (F("0.2.0"))
#ifndef SPARSEMATRIX_MAX_S... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2022-07-12
// PURPOSE: unit tests for SparseMatrix library
// https://github.com/RobTillaart/SparseMatrix
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// --------------------------... |
//
// FILE: SRF05.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.1
// DATE: 2021-05-17
// PURPOSE: Arduino library for the SRF05 distance sensor (and compatibles)
// URL: https://github.com/RobTillaart/SRF05
#include "SRF05.h"
/////////////////////////////////////////////////////
//
// CONSTRUCTORS
//
SRF0... |
#pragma once
//
// FILE: SRF05.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.1
// DATE: 2021-05-17
// PURPOSE: Arduino library for SRF05 distance sensor
// URL: https://github.com/RobTillaart/SRF05
#include "Arduino.h"
#define SRF05_LIB_VERSION (F("0.3.1"))
const uint8_t SRF05_MODE_SINGLE ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-07
// PURPOSE: unit tests for the SRF05 library
// https://github.com/RobTillaart/SRF05
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// asse... |
//
// FILE: statHelpers.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.1
// PURPOSE: Arduino library with a number of statistic helper functions.
// DATE: 2020-07-01
// URL: https://github.com/RobTillaart/statHelpers
#include "statHelpers.h"
//////////////////////////////////////////////////////////////////... |
#pragma once
//
// FILE: statHelpers.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.1
// PURPOSE: Arduino library with a number of statistic helper functions.
// DATE: 2020-07-01
// URL: https://github.com/RobTillaart/statHelpers
#include "Arduino.h"
#define STATHELPERS_LIB_VERSION (F("0.2.1"))
... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-08
// PURPOSE: unit tests for the statHelpers
// https://github.com/RobTillaart/statHelpers
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// ... |
#pragma once
//
// FILE: Statistic.h
// AUTHOR: Rob Tillaart
// modified at 0.3 by Gil Ross at physics dot org
// template version 1.0.0 by Glen Cornell
// VERSION: 1.0.9
// PURPOSE: Recursive Statistical library for Arduino
// URL: https://github.com/RobTillaart/Statistic
// HISTORY: See CHAN... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-08
// PURPOSE: unit tests for the Statistic library
// https://github.com/RobTillaart/Statistic
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------... |
//
// FILE: StopWatch.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.4.0
// DATE: 2011-01-04
// PURPOSE: Arduino Library implementing a stopwatch including seconds, milliseconds microseconds
// URL: https://github.com/RobTillaart/StopWatch_RT
//
// The library is based upon millis() and therefore
// has the sam... |
#pragma once
//
// FILE: StopWatch.h
// AUTHOR: Rob Tillaart
// VERSION: 0.4.0
// PURPOSE: Arduino Library implementing a stopwatch including seconds, milliseconds microseconds
// HISTORY: See StopWatch.cpp
// URL: https://github.com/RobTillaart/StopWatch_RT
// http://playground.arduino.cc/Code/StopWat... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-08
// PURPOSE: unit tests for the StopWatch library
// https://github.com/RobTillaart/StopWatch_RT
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// -------------------------... |
//
// FILE: Student.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// PURPOSE: Arduino library for Student or T-distribution math.
// DATE: 2024-07-22
// URL: https://github.com/RobTillaart/Student
// placeholder
// -- END OF FILE --
|
#pragma once
//
// FILE: Student.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// PURPOSE: Arduino library for Student or T-distribution math.
// DATE: 2024-07-22
// URL: https://github.com/RobTillaart/Student
#include "Arduino.h"
#include "StudentTable.h"
#define STUDENT_LIB_VERSION (F("0.1.1"))
cl... |
#pragma once
//
// FILE: StudentTable.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// PURPOSE: Arduino library for Student or T-distribution math.
// DATE: 2024-07-22
// lookup table, do not change (unless you know what you do).
//
// spreadsheet = ROUND(1000 * T.INV.2T(C$4;$B7))
//
// x = degrees of freedom
... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2024-07-22
// PURPOSE: unit tests for the Student library
// https://github.com/RobTillaart/Student
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// ... |
#pragma once
//
// FILE: SWSerialOut.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.2
// PURPOSE: Arduino library for SWSerialOut, supports only data out (TX).
// DATE: 2023-09-02
// URL: https://github.com/RobTillaart/SWSerialOut
#include "Arduino.h"
#define SWSERIALOUT_LIB_VERSION (F("0.1.2"))
... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-09-02
// PURPOSE: unit tests for the SWSerialOut library
// https://github.com/RobTillaart/SWSerialOut
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Ardui... |
#pragma once
//
// FILE: SWSPI.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.2
// DATE: 2024-10-29
// PURPOSE: Arduino library for SoftWare SPI.
#include "Arduino.h"
#include "SPI.h"
#define SWSPI_LIB_VERSION (F("0.1.2"))
class SWSPI
{
public:
SWSPI(uint8_t dataIn, uint8_t dataOut, uint8_t clock)
{
... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2024-10-29
// PURPOSE: unit test-s for the Arduino software SPI library
// https://github.com/RobTillaart/SWSPI
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// --------------------... |
//
// FILE: TCA9548.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.1
// DATE: 2021-03-16
// PURPOSE: Arduino Library for TCA9548 I2C multiplexer and compatibles.
#include "TCA9548.h"
TCA9548::TCA9548(uint8_t deviceAddress, TwoWire *wire)
{
_address = deviceAddress;
_wire = wire;
_mask = 0x00;
_... |
#pragma once
//
// FILE: TCA9548.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.1
// DATE: 2021-03-16
// PURPOSE: Arduino Library for TCA9548 I2C multiplexer and compatibles.
// URL: https://github.com/RobTillaart/TCA9548
#include "Arduino.h"
#include "Wire.h"
#define TCA9548_LIB_VERSION (F("0.3.1... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2021-03-16
// PURPOSE: unit tests for the TCA9548 I2C multiplexer
// https://github.com/RobTillaart/TCA9548
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ------... |
//
// FILE: TCA9554.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.2
// PURPOSE: Arduino library for I2C TCA9554 8 channel port expander.
// DATE: 2025-01-09
// URL: https://github.com/RobTillaart/TCA9554
#include "TCA9554.h"
// REGISTERS
#define TCA9554_INPUT_PORT_REGISTER 0x00 // read()
#define T... |
#pragma once
//
// FILE: TCA9554.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.2
// PURPOSE: Arduino library for I2C TCA9554 8 channel port expander.
// DATE: 2025-01-09
// URL: https://github.com/RobTillaart/TCA9554
#include "Arduino.h"
#include "Wire.h"
#define TCA9554_LIB_VERSION (F("0.1.2")... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-01-09
// PURPOSE: unit tests for the TCA9554 library
// https://github.com/RobTillaart/TCA9554
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// ... |
//
// FILE: TCA9555.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.4.3
// PURPOSE: Arduino library for I2C TCA9555 16 channel port expander
// DATE: 2021-06-09
// URL: https://github.com/RobTillaart/TCA9555
#include "TCA9555.h"
// REGISTERS P23-24
#define TCA9555_INPUT_PORT_REGISTER_0 0x00 // read()
... |
#pragma once
//
// FILE: TCA9555.h
// AUTHOR: Rob Tillaart
// VERSION: 0.4.3
// PURPOSE: Arduino library for I2C TCA9555 16 channel port expander
// DATE: 2021-06-09
// URL: https://github.com/RobTillaart/TCA9555
#include "Arduino.h"
#include "Wire.h"
#define TCA9555_LIB_VERSION (F("0.4.3")... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-06-09
// PURPOSE: unit tests for the TCA9555 library
// https://github.com/RobTillaart/TCA9555
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// ... |
#pragma once
//
// FILE: TCRT5000.h
// AUTHOR: Rob Tillaart
// DATE: 2025-02-23
// VERSION: 0.1.0
// PURPOSE: Arduino library for the TCRT5000 reflective optical sensor (IR).
// URL: https://github.com/RobTillaart/TCRT5000
//
#include "Arduino.h"
#define TCRT5000_LIB_VERSION (F("0.1.0"))
#i... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-06-20
// PURPOSE: unit tests for the TCRT5000 library
// URL: https://github.com/RobTillaart/TCRT5000
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Arduino-CI/... |
//
// FILE: TCS3210.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// PURPOSE: Arduino library for TCS3210 colour light to frequency convertor.
// DATE: 2025-01-12
// URL: https://github.com/RobTillaart/TCS3210
#include "TCS3210.h"
TCS3210::TCS3210(uint8_t S0, uint8_t S1, uint8_t S2, uint8_t S3, uint8_t O... |
#pragma once
//
// FILE: TCS3210.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// PURPOSE: Arduino library for TCS3210 colour light to frequency convertor.
// DATE: 2025-01-12
// URL: https://github.com/RobTillaart/TCS3210
#include "Arduino.h"
#define TCS3210_LIB_VERSION (F("0.1.1"))
class T... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-01-12
// PURPOSE: unit tests for the TCS3210 library
// https://github.com/RobTillaart/TCS3210
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// ... |
//
// FILE: temperature.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.4.0
// DATE: 2015-03-29
// PURPOSE: collection temperature functions
// URL: https://github.com/RobTillaart/Temperature
#include "temperature.h"
float Fahrenheit(float celsius)
{
return 1.8 * celsius + 32; // 5.0 / 9.0 = 1.8
}
floa... |
#pragma once
//
// FILE: temperature.h
// AUTHOR: Rob Tillaart
// VERSION: 0.4.0
// DATE: 2015-03-29
// PURPOSE: collection temperature functions
// URL: https://github.com/RobTillaart/Temperature
#include "Arduino.h"
#define TEMPERATURE_LIB_VERSION (F("0.4.0"))
// simple convertors
float Fahr... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-01
// PURPOSE: unit tests for the temperature library
// https://github.com/RobTillaart/Temperature
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ------------------------... |
#pragma once
//
// FILE: TEMT6000.h
// AUTHOR: Rob Tillaart
// DATE: 2024-11-26
// VERSION: 0.1.1
// PURPOSE: Arduino library for TEMT6000 light / LUX sensor.
// URL: https://github.com/RobTillaart/TEMT6000
// https://forum.arduino.cc/t/temt6000-light-sensor-resistor/1239046
#include "Arduino.h"
... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// DATE: 2024-11-26
// PURPOSE: unit tests for the TEMT6000 LUX sensor
// https://github.com/RobTillaart/TEMT6000
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ---------... |
#pragma once
//
// FILE: timing.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.8
// PURPOSE: Arduino library with wrapper classes for seconds millis micros
// URL: https://github.com/RobTillaart/timing
#define TIMING_LIB_VERSION (F("0.2.8"))
class microSeconds
{
public:
microSeconds() {... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-09
// PURPOSE: unit tests for the timing libraty
// https://github.com/RobTillaart/timing
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// as... |
//
// FILE: TinyKT0803.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// PURPOSE: Arduino Library for KT0803 and KT0803K FM transmitter. Tiny edition.
// URL: https://github.com/RobTillaart/TinyKT0803
// URL: https://github.com/RobTillaart/KT0803
#include "TinyKT0803.h"
// REGISTERS on page 7 datasheet
... |
#pragma once
//
// FILE: TinyKT0803.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// PURPOSE: Arduino Library for KT0803 and KT0803K FM transmitter. Tiny edition.
// URL: https://github.com/RobTillaart/TinyKT0803
// URL: https://github.com/RobTillaart/KT0803
#include "Arduino.h"
#include "TinyWireM.h"
#def... |
//
// FILE: tinySHT2x.cpp
// AUTHOR: Rob Tillaart, Viktor Balint
// VERSION: 0.2.1
// DATE: 2021-09-27
// PURPOSE: Arduino library for the SHT2x temperature and humidity sensor optimized for AVR tiny
// URL: https://github.com/RobTillaart/tinySHT2x
#include "tinySHT2x.h"
#define SHT2x_GET_TEMPERATURE_NO_... |
#pragma once
//
// FILE: tinySHT2x.h
// AUTHOR: Rob Tillaart, Viktor Balint
// VERSION: 0.2.1
// DATE: 2021-09-27
// PURPOSE: Arduino library for the SHT2x temperature and humidity sensor optimized for AVR tiny
// URL: https://github.com/RobTillaart/tinySHT2x
#include "Arduino.h"
#include "Wire.h"
#defin... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-12-29
// PURPOSE: unit tests for the timing libraty
// https://github.com/RobTillaart/timing
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// as... |
//
// FILE: TLC5917.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.1
// DATE: 2024-03-17
// PURPOSE: Arduino library for TLC5917 8-Channel Constant-Current LED Sink Drivers.
// URL: https://github.com/RobTillaart/TLC5917
#include "TLC5917.h"
TLC5917::TLC5917(uint8_t clock, uint8_t data, uint8_t LE, uint8_t ... |
#pragma once
//
// FILE: TLC5917.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.1
// DATE: 2024-03-17
// PURPOSE: Arduino library for TLC5917 8-Channel Constant-Current LED Sink Drivers.
// URL: https://github.com/RobTillaart/TLC5917
#define TLC5917_LIB_VERSION (F("0.2.1"))
#include "Arduino.h"
... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2024-03-17
// PURPOSE: unit tests for the TLC5917 library.
// https://github.com/RobTillaart/TLC5917
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
//... |
//
// FILE: TLC5947.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2023-06-17
// PURPOSE: Arduino library for the TLC5947 24 channel PWM device
// URL: https://github.com/RobTillaart/TLC5947
#include "TLC5947.h"
TLC5947::TLC5947(uint8_t clock, uint8_t data, uint8_t latch, uint8_t blank)
{
TLC59... |
#pragma once
//
// FILE: TLC5947.h
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// DATE: 2023-06-17
// PURPOSE: Arduino library for the TLC5947 24 channel PWM device
// URL: https://github.com/RobTillaart/TLC5947
#define TLC5947_LIB_VERSION (F("0.3.0"))
#include "Arduino.h"
#define TLC5947_OK... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-06-17
// PURPOSE: unit tests for the TLC5947 library
// https://github.com/RobTillaart/TLC5947
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// ... |
#pragma once
//
// FILE: TLCBuffer.h
// AUTHOR: Rob Tillaart
// DATE: 2025-10-26
// VERSION: 0.1.0
// PURPOSE: Arduino library for a Time Length Compressed buffer.
// URL: https://github.com/RobTillaart/TLCBuffer
//
#include "Arduino.h"
#define TLCBUFFER_LIB_VERSION (F("0.1.0"))
// ERROR CODES
... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2025-10-26
// PURPOSE: unit tests for the TLCBuffer library
// URL: https://github.com/RobTillaart/TLCBuffer
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Arduino-C... |
//
// FILE: TM1637.cpp
// AUTHOR: Rob Tillaart
// DATE: 2019-10-28
// VERSION: 0.4.1
// PURPOSE: TM1637 library for Arduino
// URL: https://github.com/RobTillaart/TM1637_RT
// NOTE:
// on the inexpensive TM1637 boards @wfdudley has used, keyScan
// works if you add a 1000 ohm pull-up resistor from DIO to... |
#pragma once
//
// FILE: TM1637.h
// AUTHOR: Rob Tillaart
// DATE: 2019-10-28
// VERSION: 0.4.1
// PURPOSE: TM1637 library for Arduino
// URL: https://github.com/RobTillaart/TM1637_RT
// NOTE:
// on the inexpensive TM1637 boards @wfdudley has used, keyScan
// works if you add a 1000 ohm pull-up resistor ... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-04-16
// PURPOSE: unit tests for the TM1637 library
// https://github.com/RobTillaart/TM_1637_RT
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
/... |
//
// FILE: TOPMAX.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.2
// DATE: 2023-05-18
// PURPOSE: Arduino library to track top n maxima.
// URL: https://github.com/RobTillaart/TOPMAX
#include "TOPMAX.h"
TOPMAX::TOPMAX(uint8_t size)
{
_size = size;
if (_size < 3) _size = 3;
_count = 0;
_arr = (fl... |
#pragma once
//
// FILE: TOPMAX.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.2
// DATE: 2023-05-18
// PURPOSE: Arduino library to track top n maxima.
// URL: https://github.com/RobTillaart/TOPMAX
#include "Arduino.h"
#define TOPMAX_LIB_VERSION (F("0.2.2"))
class TOPMAX
{
public:
TOPMAX(uint8... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-05-18
// PURPOSE: unit tests for the TOPMAX library
// https://github.com/RobTillaart/TOPMAX
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// as... |
//
// FILE: TOPMIN.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.2
// DATE: 2023-05-18
// PURPOSE: Arduino library to track top n minima.
// URL: https://github.com/RobTillaart/TOPMIN
#include "TOPMIN.h"
TOPMIN::TOPMIN(uint8_t size)
{
_size = size;
if (_size < 3) _size = 3;
_count = 0;
_arr = (fl... |
#pragma once
//
// FILE: TOPMIN.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.2
// DATE: 2023-05-18
// PURPOSE: Arduino library to track top n minima.
// URL: https://github.com/RobTillaart/TOPMIN
#include "Arduino.h"
#define TOPMIN_LIB_VERSION (F("0.2.2"))
class TOPMIN
{
public:
TOPMIN(uint8... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-05-18
// PURPOSE: unit tests for the TOPMIN library
// https://github.com/RobTillaart/TOPMIN
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// as... |
//
// FILE: Troolean.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.9
// PURPOSE: Arduino Library for a three state logic data type supporting {true false unknown}
// URL: https://github.com/RobTillaart/Troolean
#include "Troolean.h"
/////////////////////////////////////////////////////
//
// PUBLIC
//
Troole... |
#pragma once
//
// FILE: Troolean.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.9
// PURPOSE: Arduino Library for a three state logic data type supporting {true false unknown}
// URL: https://github.com/RobTillaart/Troolean
// https://en.wikipedia.org/wiki/Three-valued_logic
// Kleene and Priest l... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-01-09
// PURPOSE: unit tests for the Troolean three valued booleans
// https://github.com/RobTillaart/Troolean
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------... |
//
// FILE: TSL235R.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.6
// DATE: 2020-05-29
// PURPOSE: library for the TSL235R light to frequency convertor
// URL: https://github.com/RobTillaart/TSL235R
#include "TSL235R.h"
TSL235R::TSL235R(float voltage)
{
_waveLength = 635;
_waveLengthFactor = 1.0... |
#pragma once
//
// FILE: TSL235R.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.6
// DATE: 2020-05-29
// PURPOSE: library for the TSL235R light to frequency convertor
// URL: https://github.com/RobTillaart/TSL235R
#define TSL235R_LIB_VERSION (F("0.1.6"))
#include "Arduino.h"
#if not defined(TSL235... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2021-05-29
// PURPOSE: unit tests for the temperature library
// https://github.com/RobTillaart/TSL235R
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------... |
//
// FILE: TSL260R.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.5
// DATE: 2022-11-25
// PURPOSE: library for the TSL260R IR to voltage convertor
// URL: https://github.com/RobTillaart/TSL260R
#include "TSL260R.h"
TSL260R::TSL260R(uint8_t pin, uint16_t maxADC, float voltage)
{
_pin = pin;
_voltagePer... |
#pragma once
//
// FILE: TSL260R.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.5
// DATE: 2022-11-25
// PURPOSE: library for the TSL260R IR to voltage convertor
// URL: https://github.com/RobTillaart/TSL260R
#define TSL260R_LIB_VERSION (F("0.1.5"))
#include "Arduino.h"
class TSL260R
{
public:
... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2022-11-25
// PURPOSE: unit tests for the temperature library
// https://github.com/RobTillaart/TSL260R
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------... |
//
// FILE: UUID.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.0
// DATE: 2022-06-14
// PURPOSE: Arduino Library for generating UUID's
// URL: https://github.com/RobTillaart/UUID
// https://en.wikipedia.org/wiki/Universally_unique_identifier
#include "UUID.h"
UUID::UUID()
{
// seed - differs pe... |
#pragma once
//
// FILE: UUID.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.0
// DATE: 2022-06-14
// PURPOSE: Arduino Library for generating UUID's
// URL: https://github.com/RobTillaart/UUID
// https://en.wikipedia.org/wiki/Universally_unique_identifier
//
// e.g. 20d24650-d900-e34f-de49-8964ab3eb4... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2022-06-14
// PURPOSE: unit tests for the UUID library
// https://github.com/RobTillaart/UUID
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Arduino-CI/arduino_... |
#pragma once
//
// FILE: Vibration.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.0
// DATE: 2024-04-24
// PURPOSE: Arduino library for a vibration / tilt sensor e.g. SW-420, SW-18010P.
// URL: https://github.com/RobTillaart/Vibration
#include "Arduino.h"
#define VIBRATION_LIB_VERSION (F("0.2.0... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2024-10-01
// PURPOSE: unit tests for the Vibration library
// URL: https://github.com/RobTillaart/Vibration
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Arduino-C... |
#pragma once
//
// FILE: VolumeConverter.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.2
// PURPOSE: Arduino library to convert volume units.
// URL: https://github.com/RobTillaart/VolumeConverter
#include "Arduino.h"
#define VOLUMECONVERTER_LIB_VERSION (F("0.1.2"))
////////////////////////////////////... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-08-29
// PURPOSE: unit tests for VolumeConverter class
// https://github.com/RobTillaart/VolumeConverter
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------... |
#ifndef VT100_h
#define VT100_h
//
// FILE: VT100.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.00
// PURPOSE: VT100 codes, to be sent by serial.print() et al.
// DATE: 2013-09-30
// URL:
//
// Released to the public domain
//
// a sourcec of VT100 codes
// http://ascii-table.com/ansi-escape-sequences-vt-100.ph... |
#pragma once
//
// FILE: WaterMix.h
// AUTHOR: Rob Tillaart
// PURPOSE: Arduino library for mixing water with different temperatures.
// VERSION: 0.1.5
// URL: https://github.com/RobTillaart/WaterMix
#include "Arduino.h"
#define WATERMIX_LIB_VERSION (F("0.1.5"))
///////////////////////////////////////... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-08-29
// PURPOSE: unit tests for the WaterMix library
// https://github.com/RobTillaart/WaterMix
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
/... |
//
// FILE: WaveMix.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.5
// PURPOSE: Arduino library to mix two signals (A and B) with an adaptive weight.
// URL: https://github.com/RobTillaart/WaveMix
#include "WaveMix.h"
WaveMix::WaveMix()
{
_weight[0] = 0.5;
_weight[1] = 0.5;
_gain = 1.0;
_offset ... |
#pragma once
//
// FILE: WaveMix.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.5
// PURPOSE: Arduino library to mix two signals (A and B) with an adaptive weight.
// URL: https://github.com/RobTillaart/WaveMix
#include "Arduino.h"
#define WAVEMIX_LIB_VERSION (F("0.1.5"))
class WaveMix
{
public:
... |
//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2022-03-24
// PURPOSE: unit tests for the WaveMix Library
// https://github.com/RobTillaart/WaveMix
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// https://github.com/Arduino-CI/ar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.