uStepper S
|
Function prototypes and definitions for the AEAT8800-Q24 Encoder. More...
#include <Arduino.h>
Go to the source code of this file.
Classes | |
class | uStepperEncoder |
Prototype of class for the AEAT8800-Q24 encoder. More... | |
Macros | |
#define | CS PB2 |
#define | DIN PB3 |
#define | DO PB4 |
#define | CLK PB5 |
#define | ENCODERDATATOSTEP 51200.0/65536.0 |
#define | ENCODERDATATOREVOLUTIONS 60.0/65536.0 |
#define | ANGLETOENCODERDATA 65535.0/360.0 |
Function prototypes and definitions for the AEAT8800-Q24 Encoder.
This file contains class and function prototypes for the AEAT8800-Q24 Encoder, as well as necessary constants and global variables.
Definition in file uStepperEncoder.h.
#define ANGLETOENCODERDATA 65535.0/360.0 |
Constant to convert angle to raw encoder data
Definition at line 41 of file uStepperEncoder.h.
#define CLK PB5 |
Clock signal for AEAT-8800-Q24 - Pin 13 on ATmega328pB (SCK)
Definition at line 37 of file uStepperEncoder.h.
#define CS PB2 |
Chip select for AEAT-8800-Q24 - Pin 10 on ATmega328pB
Definition at line 34 of file uStepperEncoder.h.
#define DIN PB3 |
Data in for AEAT-8800-Q24 - Pin 11 on ATmega328pB (MOSI)
Definition at line 35 of file uStepperEncoder.h.
#define DO PB4 |
Data out for AEAT-8800-Q24 - Pin 12 on ATmega328pB (MISO)
Definition at line 36 of file uStepperEncoder.h.
#define ENCODERDATATOREVOLUTIONS 60.0/65536.0 |
Constant to convert raw encoder data to revolutions
Definition at line 40 of file uStepperEncoder.h.
#define ENCODERDATATOSTEP 51200.0/65536.0 |
Constant to convert raw encoder data to 1/256th steps
Definition at line 39 of file uStepperEncoder.h.