AccelStepperI2C  v0.2.2
I2C wrapper (and a bit more) for the AccelStepper Arduino library
PinI2C.h File Reference

Arduino library for I2C-control of digital and analog pins connected to another Arduino which runs the associated firmware.ino firmware. This is more or less a byproduct of the AccelStepperI2C project, but could be used as a (slightly bloated) standalone solution for I2C control of Arduino pins. Just as AccelStepperI2C, PinI2C mimicks the interface of the original Arduino pin control functions, so that it can be used with only little adaptations. More...

Detailed Description

Arduino library for I2C-control of digital and analog pins connected to another Arduino which runs the associated firmware.ino firmware. This is more or less a byproduct of the AccelStepperI2C project, but could be used as a (slightly bloated) standalone solution for I2C control of Arduino pins. Just as AccelStepperI2C, PinI2C mimicks the interface of the original Arduino pin control functions, so that it can be used with only little adaptations.

Author

Copyright (c) 2022 juh

License

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...
 

Variables

const uint8_t pinPinModeCmd = 70
 
const uint8_t pinDigitalReadCmd = 71
 
const uint8_t pinDigitalReadResult = 2
 
const uint8_t pinDigitalWriteCmd = 72
 
const uint8_t pinAnalogReadCmd = 73
 
const uint8_t pinAnalogReadResult = 2
 
const uint8_t pinAnalogWriteCmd = 74
 
const uint8_t pinAnalogReferenceCmd = 75
 

Variable Documentation

◆ pinAnalogReadCmd

const uint8_t pinAnalogReadCmd = 73

◆ pinAnalogReadResult

const uint8_t pinAnalogReadResult = 2

◆ pinAnalogReferenceCmd

const uint8_t pinAnalogReferenceCmd = 75

◆ pinAnalogWriteCmd

const uint8_t pinAnalogWriteCmd = 74

◆ pinDigitalReadCmd

const uint8_t pinDigitalReadCmd = 71

◆ pinDigitalReadResult

const uint8_t pinDigitalReadResult = 2

◆ pinDigitalWriteCmd

const uint8_t pinDigitalWriteCmd = 72

◆ pinPinModeCmd

const uint8_t pinPinModeCmd = 70