From 8e260f02474d3859aadd1b631f1d965af0d4394e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Br=C3=BCggemann?= Date: Mon, 9 Aug 2021 18:04:06 +0200 Subject: [PATCH] Init --- io-helper.c | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ io-helper.h | 9 ++++++ main.c | 12 +++++++ 3 files changed, 124 insertions(+) create mode 100644 io-helper.c create mode 100644 io-helper.h create mode 100644 main.c diff --git a/io-helper.c b/io-helper.c new file mode 100644 index 0000000..f33be3f --- /dev/null +++ b/io-helper.c @@ -0,0 +1,103 @@ +#include +#include "io-helper.h" + +uint32_t outStates = 0; + +uint8_t getBit1(uint8_t bit) { + if(outStates&(1< +#include "io-helper.h" + +int main(void) { + +outStates=0xFFFFFFFF; + +while(1) { + setOuts(); +} + +}