haustorial/definitions.h

35 lines
No EOL
682 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 6 //PWM
#define PIN_OUT2 7 //PWM
#define PIN_OUT3 8 //PWM
#define PIN_OUT4 9 //PWM
#define PIN_OUT5 16 //Digital
#define PIN_OUT6 17 //Digital
#define PIN_OUT7 18 //Digital
#define PIN_OUT8 19 //Digital
#define PIN_BUTTON 23
#define PIN_PUMP1 PIN_OUT1
#define PIN_PUMP2 PIN_OUT3
#define PIN_VALVE1 PIN_OUT5
#define PIN_VALVE2 PIN_OUT7
#endif