AccelStepperI2C
v 0.1
I2C wrapper (and a bit more) for the AccelStepper Arduino library
|
const uint8_t servoWriteMicrosecondsCmd
A helper class for the AccelStepperI2C (and ServoI2C) library.
int8_t myNum
Servo number with myNum >= 0 for successfully added servo.
const uint8_t servoDetachCmd
void writeMicroseconds(int value)
void prepareCommand(uint8_t cmd, uint8_t unit=-1)
const uint8_t servoReadMicrosecondsResult
const uint8_t servoReadMicrosecondsCmd
const uint8_t servoAttachResult
void read(T &value)
Read any basic data type from the buffer from the current position and increment the position pointer...
const uint8_t servoReadCmd
const uint8_t servoAttach2Cmd
ServoI2C(I2Cwrapper *w)
Constructor.
bool readResult(uint8_t numBytes)
Arduino library for I2C-control of servo motors connected to another Arduino which runs the associate...
uint8_t attach(int pin)
Attach and prepare servo for use. Similar to the original, but see below.
const uint8_t servoReadResult
const uint8_t servoAttachedResult
const uint8_t servoAttachedCmd
const uint8_t servoAttach1Cmd
void write(const T &value)
Write any basic data type to the buffer at the current position and increment the position pointer ac...
const uint8_t servoWriteCmd