I2Cwrapper v0.3.0
Generic framework for Arduino I2C target devices
|
Macros | |
#define | MOTOR_X_ENABLE_PIN 8 |
#define | MOTOR_X_STEP_PIN 5 |
#define | MOTOR_X_DIR_PIN 2 |
#define | MOTOR_Y_ENABLE_PIN 8 |
#define | MOTOR_Y_STEP_PIN 6 |
#define | MOTOR_Y_DIR_PIN 3 |
#define | MOTOR_Z_ENABLE_PIN 8 |
#define | MOTOR_Z_STEP_PIN 7 |
#define | MOTOR_Z_DIR_PIN 4 |
#define | defMaxSpeed 2000 |
#define | defAcceleration 750 |
#define | stepsToGo 200 |
Functions | |
void | setup () |
void | loop () |
void | loopClassic () |
Variables | |
uint8_t | i2cAddress = 0x08 |
I2Cwrapper | wrapper (i2cAddress) |
bool | stepperXdir = true |
bool | stepperYdir = true |
bool | stepperZdir = true |
#define defAcceleration 750 |
#define defMaxSpeed 2000 |
#define MOTOR_X_DIR_PIN 2 |
#define MOTOR_X_ENABLE_PIN 8 |
#define MOTOR_X_STEP_PIN 5 |
#define MOTOR_Y_DIR_PIN 3 |
#define MOTOR_Y_ENABLE_PIN 8 |
#define MOTOR_Y_STEP_PIN 6 |
#define MOTOR_Z_DIR_PIN 4 |
#define MOTOR_Z_ENABLE_PIN 8 |
#define MOTOR_Z_STEP_PIN 7 |
#define stepsToGo 200 |
void loop | ( | ) |
void loopClassic | ( | ) |
void setup | ( | ) |
uint8_t i2cAddress = 0x08 |
bool stepperXdir = true |
bool stepperYdir = true |
bool stepperZdir = true |
AccelStepperI2C stepperZ& wrapper | ( | i2cAddress | ) |