Big code cleanup and organization
This commit is contained in:
parent
2445482bfd
commit
f4dc64fd69
1197
src/main.ino
1197
src/main.ino
File diff suppressed because it is too large
Load Diff
15
src/pins.h
15
src/pins.h
@ -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
|
Loading…
Reference in New Issue
Block a user