AccelStepperI2C
v0.2.2
I2C wrapper (and a bit more) for the AccelStepper Arduino library
|
A helper class for the AccelStepperI2C and related libraries. More...
A helper class for the AccelStepperI2C and related libraries.
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.
Enhance diagnostics with a self-diagnosing function to determine the optimal/minimal I2Cdelay in a given master-slave setup.
AccelStepperI2C and ServoI2C should be derived from a common base class, atm there's some unhealthy copy and pasteimplemented with I2Cwrapper, but with client instead of inheritance relation.
Classes | |
class | I2Cwrapper |
A helper class for the AccelStepperI2C and related libraries. More... | |
Variables | |
const uint16_t | maxBufDefault = 20 |
const unsigned long | I2CdefaultDelay = 10 |
const uint8_t | resetCmd = 241 |
const uint8_t | changeI2CaddressCmd = 242 |
const uint8_t | setInterruptPinCmd = 243 |
const uint8_t | clearInterruptCmd = 244 |
const uint8_t | clearInterruptResult = 1 |
const uint8_t | getVersionCmd = 245 |
const uint8_t | getVersionResult = 4 |
const uint8_t | interruptReason_none = 0 |
You should not encounter this, as you don't want to be interrupted without a reason... More... | |
const uint8_t changeI2CaddressCmd = 242 |
const uint8_t clearInterruptCmd = 244 |
const uint8_t clearInterruptResult = 1 |
const uint8_t getVersionCmd = 245 |
const uint8_t getVersionResult = 4 |
const unsigned long I2CdefaultDelay = 10 |
const uint16_t maxBufDefault = 20 |
const uint8_t resetCmd = 241 |
const uint8_t setInterruptPinCmd = 243 |