diff --git a/Images/128w/Logo.png b/Images/128w/Logo.png new file mode 100644 index 0000000..cd6cf4f Binary files /dev/null and b/Images/128w/Logo.png differ diff --git a/Images/16w/Logo.png b/Images/16w/Logo.png new file mode 100644 index 0000000..ac7ad37 Binary files /dev/null and b/Images/16w/Logo.png differ diff --git a/Images/256w/Logo.png b/Images/256w/Logo.png new file mode 100644 index 0000000..353ae47 Binary files /dev/null and b/Images/256w/Logo.png differ diff --git a/Images/32w/Logo.png b/Images/32w/Logo.png new file mode 100644 index 0000000..a490ea3 Binary files /dev/null and b/Images/32w/Logo.png differ diff --git a/Images/64w/Logo.png b/Images/64w/Logo.png new file mode 100644 index 0000000..987a2ef Binary files /dev/null and b/Images/64w/Logo.png differ diff --git a/SVG/Logo.svg b/SVG/Logo.svg new file mode 100644 index 0000000..50ec98b --- /dev/null +++ b/SVG/Logo.svg @@ -0,0 +1 @@ +Logo \ No newline at end of file diff --git a/ZenDrive Simulator/ZenDrive Simulator.ino b/ZenDrive Simulator/ZenDrive Simulator.ino index 72cd394..8f5f8ad 100644 --- a/ZenDrive Simulator/ZenDrive Simulator.ino +++ b/ZenDrive Simulator/ZenDrive Simulator.ino @@ -1,6 +1,6 @@ // ZenDrive Simulator firmware // Copyright (c) 2021 - Valentin Boulanger -// Version : 1.0.0 +// Version : 1.2.1 //-------------------------------------------------------------------- #include "ZenDrive.h" @@ -30,8 +30,6 @@ const bool USE_GEARSHIFT = true; const bool USE_PEDALS = true; const bool USE_WHEEL = true; -const int INTERVAL = 15; - void setup() { // Initialize sensors pinMode(SPEEDS_PIN, INPUT); @@ -54,7 +52,7 @@ void setup() { pinMode(FOG_LIGHTS_PIN, INPUT_PULLUP); // Set current states - /* Gearshift */ + /* Gearshift module */ if(USE_GEARSHIFT){ int value = analogRead(SPEEDS_PIN); if(value < 200) ZenDrive.switchSpeed1(); @@ -150,11 +148,11 @@ void loop() { /* Steering wheel module */ if(USE_WHEEL){ // Blinkers - if(digitalRead(LEFT_BLINKER_PIN)){ + if(!digitalRead(LEFT_BLINKER_PIN)){ ZenDrive.setBlinkerLeft(true); ZenDrive.setBlinkerRight(false); } - else if(digitalRead(RIGHT_BLINKER_PIN)){ + else if(!digitalRead(RIGHT_BLINKER_PIN)){ ZenDrive.setBlinkerLeft(false); ZenDrive.setBlinkerRight(true); } diff --git a/ZenDrive Simulator/ZenDrive.cpp b/ZenDrive Simulator/ZenDrive.cpp index 11bc97e..332a226 100644 --- a/ZenDrive Simulator/ZenDrive.cpp +++ b/ZenDrive Simulator/ZenDrive.cpp @@ -4,7 +4,7 @@ Copyright (c) 2021, Valentin Boulanger This library is a part of the ZenDrive simulator firmware. - Version : 1.0.0 + Version : 1.3.2 */ #include "ZenDrive.h" diff --git a/ZenDrive Simulator/ZenDrive.h b/ZenDrive Simulator/ZenDrive.h index 1e5958b..4329f3e 100644 --- a/ZenDrive Simulator/ZenDrive.h +++ b/ZenDrive Simulator/ZenDrive.h @@ -4,7 +4,7 @@ Copyright (c) 2021, Valentin Boulanger This library is a part of the ZenDrive simulator firmware. - Version : 1.0.0 + Version : 1.3.2 */ #ifndef ZENDRIVE_h