From 32fca4ba84cfe8d14b0eb6c5bf8d122d5450817a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Br=C3=BCggemann?= Date: Mon, 9 Aug 2021 22:42:44 +0200 Subject: [PATCH] Added all Ports + Inputs --- io-helper.c | 1599 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- io-helper.h | 13 +- main.c | 1 + 3 files changed, 1556 insertions(+), 57 deletions(-) diff --git a/io-helper.c b/io-helper.c index f33be3f..09ce1fd 100644 --- a/io-helper.c +++ b/io-helper.c @@ -1,7 +1,8 @@ #include #include "io-helper.h" -uint32_t outStates = 0; +volatile uint32_t outStates = 0; +volatile uint32_t inStates = 0; uint8_t getBit1(uint8_t bit) { if(outStates&(1<