mirror of
https://github.com/nqrduck/ATM.git
synced 2024-11-29 21:33:15 +00:00
28 lines
473 B
C
28 lines
473 B
C
|
//SPI Pins
|
||
|
#define SCLK_PIN 14
|
||
|
#define MOSI_PIN 13
|
||
|
#define MISO_PIN 12
|
||
|
|
||
|
//ADF Pins
|
||
|
#define LE_PIN 27
|
||
|
#define CE_PIN 25
|
||
|
|
||
|
// Pins M1
|
||
|
#define EN_PIN_M1 25
|
||
|
#define DIR_PIN_M1 33
|
||
|
#define STEP_PIN_M1 32
|
||
|
#define CS_PIN_M1 26
|
||
|
|
||
|
#define DIAG1_PIN_M1 2 // used for homing
|
||
|
|
||
|
// Pins M2
|
||
|
#define EN_PIN_M2 17
|
||
|
#define DIR_PIN_M2 19
|
||
|
#define STEP_PIN_M2 5
|
||
|
#define CS_PIN_M2 18
|
||
|
|
||
|
#define DIAG1_PIN_M2 4 // used for homing
|
||
|
|
||
|
//ADC Pin
|
||
|
#define REFLECTION_PIN 15
|