42 lines
No EOL
841 B
C
42 lines
No EOL
841 B
C
#ifndef DEFINITION_H_
|
|
#define DEFINITION_H_
|
|
|
|
//Vacuum Pressure Sensor: HX710B
|
|
#define PIN_PRESSURE1_OUT 20
|
|
#define PIN_PRESSURE2_OUT 21
|
|
#define PIN_PRESSURE3_OUT 22
|
|
#define PIN_PRESSURE_SCK 15
|
|
|
|
#define PIN_INPUTARM1 0
|
|
#define PIN_INPUTARM2 1
|
|
#define PIN_INPUTARM3 2
|
|
#define PIN_INPUTAUX 3
|
|
|
|
//Pins Connected to ULN2803
|
|
#define PIN_OUT1 19 //Digital
|
|
#define PIN_OUT2 18 //Digital
|
|
#define PIN_OUT3 17 //Digital
|
|
#define PIN_OUT4 16 //Digital
|
|
#define PIN_OUT5 6 //PWM
|
|
#define PIN_OUT6 7 //PWM
|
|
#define PIN_OUT7 8 //PWM
|
|
#define PIN_OUT8 9 //PWM
|
|
|
|
#define PIN_BUTTON BOARD_BUTTON_PIN //BOARD_BUTTON_PIN = 23
|
|
|
|
#define PIN_PUMP1 PIN_OUT5
|
|
#define PIN_PUMP2 PIN_OUT7
|
|
|
|
#define PIN_VALVE1 PIN_OUT1
|
|
#define PIN_VALVE2 PIN_OUT3
|
|
|
|
#define PIN_VIBRATION PIN_OUT6
|
|
|
|
#define PIN_SDA 25
|
|
#define PIN_SCL 24
|
|
|
|
#define PIN_LED BOARD_LED_PIN //BOARD_LED_PIN=14
|
|
|
|
|
|
|
|
#endif |