Mike Menci
/
SIEMENS_FEEDER_LOOP
Siemens Dual Lane Feeder
Diff: feeder.h
- Revision:
- 1:4d3738338cf1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/feeder.h Sat Feb 04 01:27:29 2017 +0000 @@ -0,0 +1,40 @@ + +// HARDWARE PIN DEFS +#define PIN_LED P0_7 +#define PIN_VINREF P0_23 + +#define PIN_LED_YELLOW_0 P0_9 +#define PIN_LED_YELLOW_1 P1_13 + +#define PIN_BTN_GREEN_0 P0_22 +#define PIN_BTN_GREEN_1 P1_14 + +#define PIN_BOARD_FEED P0_1 + +#define PIN_GATE_0 P0_11 +#define PIN_GATE_1 P0_12 +#define PIN_GATE_2 P0_13 +#define PIN_GATE_3 P0_14 + +#define PIN_LANECTL_0 P0_16 +#define PIN_LANECTL_1 P1_15 + +#define PIN_RS485_DIR P0_17 +#define PIN_UART_TXD P0_18 +#define PIN_UART_RXD P0_19 + +#define PIN_SOLCTL_0 P1_19 +#define PIN_SOLCTL_1 P1_25 + +#define PIN_BTN_LED_0 P1_29 +#define PIN_BTN_LED_1 P1_22 + +#define PIN_H1_IN1 P0_20 +#define PIN_H1_IN2 P0_2 +#define PIN_H1_IN3 P1_26 +#define PIN_H1_IN4 P1_27 + +#define PIN_H2_IN1 P1_28 +#define PIN_H2_IN2 P1_31 +#define PIN_H2_IN3 P0_8 +#define PIN_H2_IN4 P1_21