blob: 4039110aa08850caf7a1f37d9110f3b66cadf73a (
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
|
#ifndef CONFIGURATION_H
#define CONFIGURATION_H
#define MY_NAME "TP" // Two byte string representing the name of this device
// Communication speed
#define RS485_BAUD 38400
//******************************************************************************************************
// 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
#endif
|