ATM/include/Pins.h

39 lines
664 B
C
Raw Normal View History

2022-01-06 15:33:37 +00:00
//SPI Pins
#define SCLK_PIN 14
#define MOSI_PIN 13
#define MISO_PIN 12
2023-08-07 12:34:14 +00:00
// I^2C Pins - ADC/DAC Module
#define I2C_SDA 21
#define I2C_SCL 16
2022-01-06 15:33:37 +00:00
//ADF Pins
#define LE_PIN 27
#define CE_PIN 25
// Pins M1
2022-02-17 06:48:58 +00:00
#define EN_PIN_M1 26
#define DIR_PIN_M1 32
#define STEP_PIN_M1 33
#define CS_PIN_M1 25
2022-01-06 15:33:37 +00:00
2022-02-17 06:48:58 +00:00
#define DIAG1_PIN_M1 4 // used for homing
2022-01-06 15:33:37 +00:00
// Pins M2
#define EN_PIN_M2 17
#define DIR_PIN_M2 19
2022-02-17 06:48:58 +00:00
#define STEP_PIN_M2 18
#define CS_PIN_M2 5
2022-01-06 15:33:37 +00:00
2022-02-17 06:48:58 +00:00
#define DIAG1_PIN_M2 2 // used for homing
2022-01-06 15:33:37 +00:00
2023-08-10 07:08:43 +00:00
//ADC Pin - obslete
// #define REFLECTION_PIN 15
// Filter Bank
2023-08-08 15:09:36 +00:00
#define FILTER_SWITCH_A 23
#define FILTER_SWITCH_B 22
2023-08-10 07:08:43 +00:00
// RF Switch
#define RF_SWITCH_PIN 34