Big code cleanup and organization

This commit is contained in:
Dionysus 2024-05-28 18:32:54 -04:00
parent 2445482bfd
commit f4dc64fd69
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
2 changed files with 652 additions and 560 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,7 @@
#pragma once
// board peripheral power control pin needs to be set to HIGH when using the peripheral
// Board pin definitions ------------------------
#define BOARD_POWERON 10
#define BOARD_I2S_WS 5
@ -46,9 +45,17 @@
#define BOARD_BL_PIN 42
#define GPS_RX_PIN 44
#define GPS_TX_PIN 43
// Other definitions ----------------------------
#define SCREEN_WIDTH 320
#define SCREEN_HEIGHT 240
// Battery definitions
#define CONV_FACTOR 1.8 // Conversion factor for the ADC to voltage conversion
#define READS 20 // Number of readings for averaging
#define LILYGO_KB_SLAVE_ADDRESS 0x55
#define GPS_RX_PIN 44
#define GPS_TX_PIN 43