I2Cwrapper v0.5.0
Generic framework for Arduino I2C target devices
|
Arduino library for I2C-control of digital and analog pins connected to another Arduino which runs the I2Cwrapper firmware.ino with the PinI2C module enabled. More...
Arduino library for I2C-control of digital and analog pins connected to another Arduino which runs the I2Cwrapper firmware.ino with the PinI2C module enabled.
Just as AccelStepperI2C, PinI2C mimicks the interface of the original Arduino pin control functions, so that it can be used with very few adaptations.
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 | PinI2C |
An I2C wrapper class for remote analog and digital pin control. More... | |
Macros | |
#define | log(...) |
Variables | |
const uint8_t | pinCmdOffset = 60 |
const uint8_t | pinPinModeCmd = pinCmdOffset + 0 |
const uint8_t | pinDigitalReadCmd = pinCmdOffset + 1 |
const uint8_t | pinDigitalReadResult = 2 |
const uint8_t | pinDigitalWriteCmd = pinCmdOffset + 2 |
const uint8_t | pinAnalogReadCmd = pinCmdOffset + 3 |
const uint8_t | pinAnalogReadResult = 2 |
const uint8_t | pinAnalogWriteCmd = pinCmdOffset + 4 |
const uint8_t | pinAnalogReferenceCmd = pinCmdOffset + 5 |
#define log | ( | ... | ) |
const uint8_t pinAnalogReadCmd = pinCmdOffset + 3 |
const uint8_t pinAnalogReadResult = 2 |
const uint8_t pinAnalogReferenceCmd = pinCmdOffset + 5 |
const uint8_t pinAnalogWriteCmd = pinCmdOffset + 4 |
const uint8_t pinCmdOffset = 60 |
const uint8_t pinDigitalReadCmd = pinCmdOffset + 1 |
const uint8_t pinDigitalReadResult = 2 |
const uint8_t pinDigitalWriteCmd = pinCmdOffset + 2 |
const uint8_t pinPinModeCmd = pinCmdOffset + 0 |