blob: 23ac1024f2d4288ea65b44847b3fe22afdd0ffcb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef CONFIGURATION_H
#define CONFIGURATION_H
#define MY_NAME '0' // Two byte string representing the name of this device
#define RS485_MASTER 0 // We are a slave
#define MOTHERBOARD 2
//******************************************************************************************************
// Pin defintion section. This is for the RepRap Extruder Controler V2.2
//our RS485 pins
#define RX_ENABLE_PIN 4
#define TX_ENABLE_PIN 16
// Control pins for the A3949 chips
#define H1D 7
#define H1E 5
#define H2D 8
#define H2E 6
// Analogue read of this pin gets the potentiometer setting
#define POT 0
// MOSFET drivers
#define OUTPUT_A 12
#define OUTPUT_B 11
#define OUTPUT_C 15
#define DEBUG_PIN 13
#endif
|