From b5f588bdf63ffc654274a92b63234592d354cb65 Mon Sep 17 00:00:00 2001 From: Eggert Jung Date: Thu, 10 Feb 2022 15:47:11 +0100 Subject: [PATCH] add more io defs --- avrIOhelper/io-helper.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/avrIOhelper/io-helper.h b/avrIOhelper/io-helper.h index 5f423f5..3db4dfa 100644 --- a/avrIOhelper/io-helper.h +++ b/avrIOhelper/io-helper.h @@ -90,6 +90,13 @@ void ioHelperEdgeDetector(void); #define AMPEL_GELB BitPL0 #define AMPEL_GRUEN BitPD4 +// Schrittmotoren richtung + +#define MOTOR_TAENZER_DIR BitPH4 + +#define LED_INIT BitPE3 +#define LED_ABZUG BitPL6 + #define RELAY_INTERLOCK BitPC6 @@ -122,8 +129,20 @@ void ioHelperEdgeDetector(void); //#define BTN_ANLAGE_EIN BitPinD3 //#define IN_ANLAGE_EIN BitPinD2 #define IN_ANLAGE_EIN BitPinF3 + #define IN_NOTAUS_ANLAGE BitPinD3 #define IN_NOTAUS_SCHRANK BitPinD2 #define IN_NOTAUS_DISPLAY BitPinG1 +#define BTN_ABZUG_EIN BitPinK2 +#define BTN_ABZUG_AUS BitPinK3 +#define BTN_ABZUG_PLUS BitPinK4 +#define BTN_ABZUG_MINUS BitPinK5 +#define BTN_ABZUG_PLUS_FEIN BitPinK6 +#define BTN_ABZUG_MINUS_FEIN BitPinK7 + +#define BTN_INIT BitPinF4 +#define BTN_TAENZER_START BitPinF7 +#define IN_TAENZER_HOME BitPinF0 + #endif