I2Cwrapper v0.5.0
Generic framework for Arduino I2C target devices
|
Functions | |
void | interruptFromTarget () |
void | setup () |
void | loop () |
void | findEndstops (float sp) |
uint8_t | waitForInterrupt () |
void | randomWalk (int repetitions, long chance) |
Variables | |
const uint8_t | addr = 0x8 |
const uint8_t | stepPin = 8 |
const uint8_t | dirPin = 7 |
const uint8_t | enablePin = 2 |
const uint8_t | endstopPin = 17 |
const uint8_t | interruptPinTarget = 9 |
const uint8_t | interruptPinController = 2 |
const float | homingSpeed = 100.0 |
const float | maxRunSpeed = 600.0 |
const float | acceleration = maxRunSpeed / 4 |
I2Cwrapper | wrapper (addr) |
volatile bool | interruptFlag = false |
long | lowerEndStopPos |
long | upperEndStopPos |
long | middlePos |
long | range |
long | lower |
long | upper |
long | cycles = 0 |
void findEndstops | ( | float | sp | ) |
void interruptFromTarget | ( | ) |
void loop | ( | void | ) |
void randomWalk | ( | int | repetitions, |
long | chance | ||
) |
void setup | ( | void | ) |
uint8_t waitForInterrupt | ( | ) |
const float acceleration = maxRunSpeed / 4 |
const uint8_t addr = 0x8 |
long cycles = 0 |
const uint8_t dirPin = 7 |
const uint8_t enablePin = 2 |
const uint8_t endstopPin = 17 |
const float homingSpeed = 100.0 |
volatile bool interruptFlag = false |
const uint8_t interruptPinController = 2 |
const uint8_t interruptPinTarget = 9 |
long lower |
long lowerEndStopPos |
const float maxRunSpeed = 600.0 |
long middlePos |
long range |
const uint8_t stepPin = 8 |
long upper |
long upperEndStopPos |
AccelStepperI2C stepper& wrapper | ( | addr | ) |