Browse Source

ADD Esp32 Dev V1 module

pull/1/head
US1GHQ 11 months ago
parent
commit
66c3995eec
  1. 10
      platformio.ini
  2. 6
      src/TTGO_T-Beam_LoRa_APRS.ino

10
platformio.ini

@ -109,6 +109,16 @@ build_flags =
-D ENABLE_WIFI
-D HELTEC_V2
[env:Esp32-Dev-v1]
platform = espressif32
board = esp32doit-devkit-v1
; change MCU frequency
board_build.f_cpu = 80000000L
build_flags =
${env.build_flags}
-D ENABLE_WIFI
-D ESP32_DEV_V1
[env:ttgo-t-beam-v1.0-development]
platform = espressif32 @ 3.0.0
board = ttgo-t-beam

6
src/TTGO_T-Beam_LoRa_APRS.ino

@ -84,6 +84,12 @@
#define BUTTON 2 //pin number for BUTTO
#define BUZZER 13 // enter your buzzer pin gpio
const byte TXLED = 4; //pin number for LED on TX Tracker
#elif ESP32_DEV_V1
#define I2C_SDA 4
#define I2C_SCL 15
#define BUTTON 2 //pin number for BUTTO
#define BUZZER 13 // enter your buzzer pin gpio
const byte TXLED = 4; //pin number for LED on TX Tracker
#endif
// Variables for APRS packaging

Loading…
Cancel
Save