add code for external notaus

This commit is contained in:
2022-11-14 22:43:01 +01:00
parent e8d73df01d
commit 9f404c5525
2 changed files with 100 additions and 31 deletions

View File

@@ -73,6 +73,9 @@ void ioHelperEdgeDetector(void);
#define LED_ROT_NOTAUS_ANLAGE BitPE5
#define LED_GRN_NOTAUS_SCHRANK BitPG5
#define LED_ROT_NOTAUS_SCHRANK BitPE3
#define LED_GRN_NOTAUS_ANLAGE_KALT BitPH3
#define LED_ROT_NOTAUS_ANLAGE_KALT BitPH4
#define LED_PLC_OK BitPH5
#define LED_BUS_OK BitPD4
@@ -90,11 +93,23 @@ void ioHelperEdgeDetector(void);
#define BitPinK0 8 //A8
#define BitPinK1 9 //A9
#define BitPinD3 10 //INO
#define BitPinD2 11 //IN1
#define BitPinK2 10 //A10
#define BitPinK3 11 //A11
#define BitPinK4 12 //A12
#define BitPinK5 13 //A13
#define BitPinK6 14 //A14
#define BitPinK7 15 //A15
#define BitPinD7 16 //I16
#define BitPinG2 17 //I17
#define BitPinG1 18 //I18
#define BitPinD3 19 //INO
#define BitPinD2 20 //IN1
#define IN_ANLAGE_EIN_INV BitPinF5
#define IN_NOTAUS_ANLAGE BitPinF7
#define IN_NOTAUS_ANLAGE_KALT BitPinK1
#define IN_NOTAUS_SCHRANK BitPinK0
#endif