Add .clang-format
This commit is contained in:
parent
beff90a10a
commit
7815f03c84
|
@ -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
|
|
@ -1,25 +1,25 @@
|
|||
#include <Arduino.h>
|
||||
#include <FT18_STW_INIT.h>
|
||||
#include <Bounce2.h>
|
||||
#include <DueTimer.h>
|
||||
#include <due_can.h>
|
||||
#include <FT_2018_STW_CAN.h>
|
||||
#include <EDIPTFT.h>
|
||||
#include <FT18_STW_DISPLAY.h>
|
||||
#include <Bounce2.h>
|
||||
#include <FT18_STW_INIT.h>
|
||||
#include <FT_2018_STW_CAN.h>
|
||||
#include <RotaryEncoder.h>
|
||||
#include <due_can.h>
|
||||
|
||||
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
|
||||
// read_buttons(); //in Send_0x110() aufgerufen
|
||||
// read_rotary(); //in Send_0x110() aufgerufen
|
||||
// Send_0x110(); //alle 10 ms als interrupt aufgerufen
|
||||
update_LED();
|
||||
update_display();
|
||||
}
|
Loading…
Reference in New Issue