Wersja przeportowana bez uruchamiania

This commit is contained in:
sieja
2025-05-13 21:21:25 +02:00
parent b9bec53dec
commit 82c111c339
6 changed files with 18 additions and 6 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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.