Browse Source

Heltec-WiFi-KIT32 & Heltec-WiFi-KIT32_V2

pull/23/head
Rysiek Labus 6 months ago
parent
commit
b8427a9e1c
  1. BIN
      pdf/HELTEC-WIFI_LoRa_32_V2.pdf
  2. BIN
      pdf/HELTEC-WiFi_LoRa_32_V2(433,470-510).PDF
  3. 12
      platformio.ini
  4. 27
      src/TTGO_T-Beam_LoRa_APRS.ino

BIN
pdf/HELTEC-WIFI_LoRa_32_V2.pdf

BIN
pdf/HELTEC-WiFi_LoRa_32_V2(433,470-510).PDF

12
platformio.ini

@ -53,4 +53,14 @@ build_flags = ${env.build_flags} -D LORA32_2
[env:ttgo-lora32-v1]
platform = espressif32
board = ttgo-lora32-v1
build_flags = ${env.build_flags} -D LORA32_1
build_flags = ${env.build_flags} -D LORA32_1
[env:ttgo-Heltec-WiFi-KIT32]
platform = espressif32
board = heltec_wifi_kit_32
build_flags = ${env.build_flags} -D HELTEC_WIFI_KIT32
[env:ttgo-Heltec-WiFi-KIT32_V2]
platform = espressif32
board = heltec_wifi_kit_32_v2
build_flags = ${env.build_flags} -D HELTEC_WIFI_KIT32_V2

27
src/TTGO_T-Beam_LoRa_APRS.ino

@ -31,8 +31,31 @@
#include "version.h"
// I2C LINES
#define I2C_SDA 21
#define I2C_SCL 22
#ifdef T_BEAM_V1_0
#define I2C_SDA 21
#define I2C_SCL 22
#elif T_BEAM_V0_7
#define I2C_SDA 21
#define I2C_SCL 22
#elif LORA32_1
#define I2C_SDA 21
#define I2C_SCL 22
#elif LORA32_2
#define I2C_SDA 21
#define I2C_SCL 22
#elif LORA32_21
#define I2C_SDA 21
#define I2C_SCL 22
#elif HELTEC_WIFI_KIT32
#define I2C_SDA 4
#define I2C_SCL 15
#elif HELTEC_WIFI_KIT32_V2
#define I2C_SDA 4
#define I2C_SCL 15
#endif
// DISPLAY address
#define SSD1306_ADDRESS 0x3C

Loading…
Cancel
Save