From 82c111c33907a4a8d542e233b6159219ed84e8f6 Mon Sep 17 00:00:00 2001 From: sieja Date: Tue, 13 May 2025 21:21:25 +0200 Subject: [PATCH] Wersja przeportowana bez uruchamiania --- .../.theia/launch.json | 0 .../ESP_AutomatedGearShifter.ino} | 10 +++++----- .../algorytm predykcji.xlsx | Bin ESP32/ESP_AutomatedGearShifter/nowy 2.txt | 12 ++++++++++++ .../planowanie_pamięci.xlsx | Bin ESP32/LCD_RGB_graphicstest/LCD_RGB_graphicstest.ino | 2 +- 6 files changed, 18 insertions(+), 6 deletions(-) rename ESP32/{AutomatedGearShifter => ESP_AutomatedGearShifter}/.theia/launch.json (100%) rename ESP32/{AutomatedGearShifter/AutomatedGearShifter.ino => ESP_AutomatedGearShifter/ESP_AutomatedGearShifter.ino} (98%) rename ESP32/{AutomatedGearShifter => ESP_AutomatedGearShifter}/algorytm predykcji.xlsx (100%) create mode 100644 ESP32/ESP_AutomatedGearShifter/nowy 2.txt rename ESP32/{AutomatedGearShifter => ESP_AutomatedGearShifter}/planowanie_pamięci.xlsx (100%) diff --git a/ESP32/AutomatedGearShifter/.theia/launch.json b/ESP32/ESP_AutomatedGearShifter/.theia/launch.json similarity index 100% rename from ESP32/AutomatedGearShifter/.theia/launch.json rename to ESP32/ESP_AutomatedGearShifter/.theia/launch.json diff --git a/ESP32/AutomatedGearShifter/AutomatedGearShifter.ino b/ESP32/ESP_AutomatedGearShifter/ESP_AutomatedGearShifter.ino similarity index 98% rename from ESP32/AutomatedGearShifter/AutomatedGearShifter.ino rename to ESP32/ESP_AutomatedGearShifter/ESP_AutomatedGearShifter.ino index aeddb30..d011a60 100644 --- a/ESP32/AutomatedGearShifter/AutomatedGearShifter.ino +++ b/ESP32/ESP_AutomatedGearShifter/ESP_AutomatedGearShifter.ino @@ -24,11 +24,11 @@ Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET); // #define PinInterrupt 0 //on board: RX deklaracja pod stabilizacje TX #define PinInSpeed 4 //on board: D4 -#define ServoSwitch 4 //on board: 4 -#define ServoPin 8 //on board: 8 -#define BrakingLight 9 //on board: 9 BrakingLight -#define PinLED 10 //on board: 10 ORANGE loop signal -#define Btn1 18 //on board: A0 Button1 +#define ServoSwitch 2 //on board: 4 +#define ServoPin 19 //on board: 8 +#define BrakingLight 13 //on board: 9 BrakingLight +#define PinLED 25 //on board: 10 ORANGE loop signal +#define Btn1 27 //on board: A0 Button1 #define VoltInptPin 23 //on board: D23 Battery Voltage #define ServoMaxAngle 130 diff --git a/ESP32/AutomatedGearShifter/algorytm predykcji.xlsx b/ESP32/ESP_AutomatedGearShifter/algorytm predykcji.xlsx similarity index 100% rename from ESP32/AutomatedGearShifter/algorytm predykcji.xlsx rename to ESP32/ESP_AutomatedGearShifter/algorytm predykcji.xlsx diff --git a/ESP32/ESP_AutomatedGearShifter/nowy 2.txt b/ESP32/ESP_AutomatedGearShifter/nowy 2.txt new file mode 100644 index 0000000..e49bd95 --- /dev/null +++ b/ESP32/ESP_AutomatedGearShifter/nowy 2.txt @@ -0,0 +1,12 @@ +czeck plytki HAT +PinLED ARDUINO ESP32 +SCL 3 BRAK docelowy: D22 +ServoSwitch 4 BRAK docelowy: D2 +VCC OK OK +GND OK OK +SLA 2 D21 +ServoPin 8 D19 +BrakingLight 9 D13 +PinLED 1 10 D25 +Btn1 1 A0/18 D27 +VoltInptPin A1/19 D23 \ No newline at end of file diff --git a/ESP32/AutomatedGearShifter/planowanie_pamięci.xlsx b/ESP32/ESP_AutomatedGearShifter/planowanie_pamięci.xlsx similarity index 100% rename from ESP32/AutomatedGearShifter/planowanie_pamięci.xlsx rename to ESP32/ESP_AutomatedGearShifter/planowanie_pamięci.xlsx diff --git a/ESP32/LCD_RGB_graphicstest/LCD_RGB_graphicstest.ino b/ESP32/LCD_RGB_graphicstest/LCD_RGB_graphicstest.ino index 8c7b6ca..fbc856c 100644 --- a/ESP32/LCD_RGB_graphicstest/LCD_RGB_graphicstest.ino +++ b/ESP32/LCD_RGB_graphicstest/LCD_RGB_graphicstest.ino @@ -10,7 +10,7 @@ #define TFT_DC 2 -// OPTION 1 (recommended) is to use the HARDWARE SPI pins, which are unique +// OPTION 1 (recommended) is to use the HARDc:\Gitea\Arduino\ESP32\AutomatedGearShifter\AutomatedGearShifter.inoWARE SPI pins, which are unique // to each board and not reassignable. For Arduino Uno: MOSI = pin 11 and // SCLK = pin 13. This is the fastest mode of operation and is required if // using the breakout board's microSD card.