SpectralSensor ESP32- początki

This commit is contained in:
sieja
2025-06-16 22:14:06 +02:00
parent d340083977
commit 381a9aab06
2 changed files with 242 additions and 274 deletions

View File

@@ -0,0 +1,22 @@
#define ST7735_DRIVER // sterownik ekranu
#define TFT_WIDTH 128
#define TFT_HEIGHT 160
#define TFT_RGB_ORDER TFT_RGB // jeśli kolory są dziwne, zamień na TFT_BGR
#define TFT_CS 5
#define TFT_RST 4
#define TFT_DC 2
#define TFT_MOSI 23
#define TFT_SCLK 18
#define LOAD_GLCD // domyślna czcionka 1
#define LOAD_FONT2 // mała czcionka
#define LOAD_FONT4 // średnia czcionka
#define LOAD_FONT6 // duża czcionka cyfrowa
#define LOAD_FONT7
#define LOAD_FONT8
#define SPI_FREQUENCY 27000000 // bezpieczna prędkość