diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..971b9fb --- /dev/null +++ b/.clang-format @@ -0,0 +1,7 @@ +BasedOnStyle: LLVM +IndentWidth: 2 +ColumnLimit: 80 +# Derive pointer alignment +DerivePointerAlignment: true +# As a fallback: pointers to the type (`int* x` instead of `int *x`) +PointerAlignment: Left \ No newline at end of file diff --git a/src/18stw.cpp b/src/18stw.cpp index 446956c..fb56a1d 100644 --- a/src/18stw.cpp +++ b/src/18stw.cpp @@ -1,25 +1,25 @@ #include -#include +#include #include -#include -#include #include #include -#include +#include +#include #include +#include -void setup(){ +void setup() { set_pins(); - //Serial.begin(9600); - //Serial.println("Hi"); + // Serial.begin(9600); + // Serial.println("Hi"); Init_Can_0(); init_display(); - } - -void loop() { - //read_buttons(); //in Send_0x110() aufgerufen - //read_rotary(); //in Send_0x110() aufgerufen - //Send_0x110(); //alle 10 ms als interrupt aufgerufen +} + +void loop() { + // read_buttons(); //in Send_0x110() aufgerufen + // read_rotary(); //in Send_0x110() aufgerufen + // Send_0x110(); //alle 10 ms als interrupt aufgerufen update_LED(); update_display(); -} +} \ No newline at end of file