Loop based controller for dual lane siemens siplace feeder.

Dependencies:   USBDevice mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers feeder.h Source File

feeder.h

00001 
00002 // HARDWARE PIN DEFS
00003 #define PIN_LED             P0_7
00004 #define PIN_VINREF          P0_23
00005 
00006 #define PIN_LED_YELLOW_0    P0_9
00007 #define PIN_LED_YELLOW_1    P1_13
00008 
00009 #define PIN_BTN_GREEN_0     P0_22
00010 #define PIN_BTN_GREEN_1     P1_14
00011 
00012 #define PIN_BOARD_FEED      P0_1
00013 
00014 #define PIN_GATE_0          P0_11
00015 #define PIN_GATE_1          P0_12
00016 #define PIN_GATE_2          P0_13
00017 #define PIN_GATE_3          P0_14
00018 
00019 #define PIN_LANECTL_0       P0_16
00020 #define PIN_LANECTL_1       P1_15
00021 
00022 #define PIN_RS485_DIR       P0_17
00023 #define PIN_UART_TXD        P0_18
00024 #define PIN_UART_RXD        P0_19
00025 
00026 #define PIN_SOLCTL_0        P1_19
00027 #define PIN_SOLCTL_1        P1_25
00028 
00029 #define PIN_BTN_LED_0       P1_29
00030 #define PIN_BTN_LED_1       P1_22
00031 
00032 #define PIN_H1_IN1          P0_20
00033 #define PIN_H1_IN2          P0_2
00034 #define PIN_H1_IN3          P1_26
00035 #define PIN_H1_IN4          P1_27
00036 
00037 #define PIN_H2_IN1          P1_28
00038 #define PIN_H2_IN2          P1_31
00039 #define PIN_H2_IN3          P0_8
00040 #define PIN_H2_IN4          P1_21