I2Cwrapper v0.3.0
Generic framework for Arduino I2C target devices
|
Arduino library for I2C-control of touch buttons and hall sensors of an ESP32 which runs the associated firmware.ino firmware. More...
Arduino library for I2C-control of touch buttons and hall sensors of an ESP32 which runs the associated firmware.ino firmware.
Copyright (c) 2022 juh
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
Classes | |
class | ESP32sensorsI2C |
An I2C wrapper class for ESP32 sensors (touch, temp, hall). More... | |
Macros | |
#define | log(...) |
Variables | |
const uint8_t | ESP32sensorsCmdOffset = 70 |
const uint8_t | ESP32sensorsTouchSetCyclesCmd = ESP32sensorsCmdOffset + 0 |
const uint8_t | ESP32sensorsTouchReadCmd = ESP32sensorsCmdOffset + 1 |
const uint8_t | ESP32sensorsTouchReadResult = 2 |
const uint8_t | ESP32sensorsEnableInterruptsCmd = ESP32sensorsCmdOffset + 2 |
const uint8_t | ESP32sensorsHallReadCmd = ESP32sensorsCmdOffset + 3 |
const uint8_t | ESP32sensorsHallReadResult = 2 |
const uint8_t | ESP32sensorsTemperatureReadCmd = ESP32sensorsCmdOffset + 4 |
const uint8_t | ESP32sensorsTemperatureReadResult = 4 |
const uint8_t | interruptReason_ESP32sensorsTouch = 4 |
#define log | ( | ... | ) |
const uint8_t ESP32sensorsCmdOffset = 70 |
const uint8_t ESP32sensorsEnableInterruptsCmd = ESP32sensorsCmdOffset + 2 |
const uint8_t ESP32sensorsHallReadCmd = ESP32sensorsCmdOffset + 3 |
const uint8_t ESP32sensorsHallReadResult = 2 |
const uint8_t ESP32sensorsTemperatureReadCmd = ESP32sensorsCmdOffset + 4 |
const uint8_t ESP32sensorsTemperatureReadResult = 4 |
const uint8_t ESP32sensorsTouchReadCmd = ESP32sensorsCmdOffset + 1 |
const uint8_t ESP32sensorsTouchReadResult = 2 |
const uint8_t ESP32sensorsTouchSetCyclesCmd = ESP32sensorsCmdOffset + 0 |