Library for Trinamic TMC2209 stepper modules to drive bipolar stepper motors. Ported and adapted from https://github.com/teemuatlut/TMCStepper
TMC_MACROS.h@2:b34e91b54373, 2021-12-02 (annotated)
- Committer:
- charly
- Date:
- Thu Dec 02 20:29:39 2021 +0000
- Revision:
- 2:b34e91b54373
- Parent:
- 0:f4343071c8b1
Changes from Original Project for TMC2209 integrated
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
charly | 0:f4343071c8b1 | 1 | #pragma once |
charly | 0:f4343071c8b1 | 2 | |
charly | 0:f4343071c8b1 | 3 | #define DEBUG_PRINT(CFG, VAL) Serial.print(CFG); Serial.print('('); Serial.print(VAL, HEX); Serial.println(')') |
charly | 0:f4343071c8b1 | 4 | //#define WRITE_REG(R) write(R##_register.address, R##_register.sr) |
charly | 0:f4343071c8b1 | 5 | //#define READ_REG(R) read(R##_register.address) |