ttgobeam.h edited

This commit is contained in:
Klaus K Wilting 2018-07-21 19:24:43 +02:00
parent eb37a79d46
commit daba1678a4
2 changed files with 7 additions and 5 deletions

View File

@ -12,8 +12,8 @@
; ---> SELECT TARGET PLATFORM HERE! <---
[platformio]
;env_default = lolin32lite, heltec, generic
env_default = generic
;env_default = heltec
;env_default = generic
env_default = heltec
;env_default = ttgov1
;env_default = ttgov2
;env_default = ttgov21

View File

@ -3,10 +3,12 @@
#define HAS_LORA 1 // comment out if device shall not send data via LoRa
#define HAS_SPI 1 // comment out if device shall not send data via SPI
#define CFG_sx1276_radio 1 // HPD13A LoRa SoC
#define BOARD_HAS_PSRAM // use extra 4MB extern RAM
#define HAS_LED GPIO_NUM_21 // on board green LED_G1
//#define HAS_BUTTON GPIO_NUM_39 // on board button "BOOT" (next to reset button) !! seems not to work!!
#define BOARD_HAS_PSRAM // use extra 4MB extern RAM
#define HAS_LED GPIO_NUM_21 // on board green LED
#define HAS_BUTTON GPIO_NUM_39 // on board button "BOOT" (next to reset button)
#define HAS_BATTERY_PROBE ADC1_GPIO35_CHANNEL // battery probe GPIO pin -> ADC1_CHANNEL_7
#define BATT_FACTOR 2 // voltage divider 100k/100k on board
#define HAS_GPS 1 // use on board GPS