AccelStepperI2C
v0.2.2
I2C wrapper (and a bit more) for the AccelStepper Arduino library
|
Functions | |
void | setup () |
void | loop () |
void | findEndstops (float sp) |
uint8_t | waitForInterrupt () |
void | randomWalk (int repetitions, long chance) |
void | interruptFromSlave () |
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 | interruptPinSlave = 9 |
const uint8_t | interruptPinMaster = 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 interruptFromSlave | ( | ) |
void loop | ( | ) |
void randomWalk | ( | int | repetitions, |
long | chance | ||
) |
void setup | ( | ) |
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 interruptPinMaster = 2 |
const uint8_t interruptPinSlave = 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 |