platformio lora32 board support
parent
f217e3f96a
commit
b6a44ee8c3
|
@ -8,10 +8,7 @@
|
|||
; Please visit documentation for the other options and examples
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[env:ttgo-t-beam]
|
||||
platform = espressif32
|
||||
board = ttgo-t-beam
|
||||
framework = arduino
|
||||
[env]
|
||||
monitor_speed = 115200
|
||||
build_flags = -Wl,--gc-sections,--relax
|
||||
lib_deps =
|
||||
|
@ -25,3 +22,19 @@ lib_deps =
|
|||
OneWire
|
||||
#DallasTemperature
|
||||
#adafruit/Adafruit BME280 Library@^2.1.2
|
||||
|
||||
|
||||
[env:ttgo-t-beam]
|
||||
platform = espressif32
|
||||
board = ttgo-t-beam
|
||||
framework = arduino
|
||||
|
||||
;[env:ttgo-lora32-v2]
|
||||
;platform = espressif32
|
||||
;board = ttgo-lora32-v1
|
||||
;framework = arduino
|
||||
|
||||
;[env:ttgo-lora32-v1]
|
||||
;platform = espressif32
|
||||
;board = ttgo-lora32-v1
|
||||
;framework = arduino
|
|
@ -514,6 +514,8 @@ void loop() {
|
|||
loraReceivedLength = sizeof(lora_RXBUFF); // reset max length before receiving!
|
||||
if (rf95.recvAPRS(lora_RXBUFF, &loraReceivedLength)) {
|
||||
loraReceivedFrameString = "";
|
||||
//int rssi = rf95.lastSNR();
|
||||
//Serial.println(rssi);
|
||||
for (int i=0 ; i < loraReceivedLength ; i++) {
|
||||
loraReceivedFrameString += (char) lora_RXBUFF[i];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue