Wersja przeportowana bez uruchamiania
This commit is contained in:
@@ -24,11 +24,11 @@
|
|||||||
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);
|
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);
|
||||||
// #define PinInterrupt 0 //on board: RX deklaracja pod stabilizacje TX
|
// #define PinInterrupt 0 //on board: RX deklaracja pod stabilizacje TX
|
||||||
#define PinInSpeed 4 //on board: D4
|
#define PinInSpeed 4 //on board: D4
|
||||||
#define ServoSwitch 4 //on board: 4
|
#define ServoSwitch 2 //on board: 4
|
||||||
#define ServoPin 8 //on board: 8
|
#define ServoPin 19 //on board: 8
|
||||||
#define BrakingLight 9 //on board: 9 BrakingLight
|
#define BrakingLight 13 //on board: 9 BrakingLight
|
||||||
#define PinLED 10 //on board: 10 ORANGE loop signal
|
#define PinLED 25 //on board: 10 ORANGE loop signal
|
||||||
#define Btn1 18 //on board: A0 Button1
|
#define Btn1 27 //on board: A0 Button1
|
||||||
#define VoltInptPin 23 //on board: D23 Battery Voltage
|
#define VoltInptPin 23 //on board: D23 Battery Voltage
|
||||||
|
|
||||||
#define ServoMaxAngle 130
|
#define ServoMaxAngle 130
|
||||||
12
ESP32/ESP_AutomatedGearShifter/nowy 2.txt
Normal file
12
ESP32/ESP_AutomatedGearShifter/nowy 2.txt
Normal 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
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
#define TFT_DC 2
|
#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
|
// 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
|
// SCLK = pin 13. This is the fastest mode of operation and is required if
|
||||||
// using the breakout board's microSD card.
|
// using the breakout board's microSD card.
|
||||||
|
|||||||
Reference in New Issue
Block a user