mirror of
https://github.com/Genaker/LoraSA.git
synced 2026-08-12 03:42:52 +02:00
just some playground for me to try stuff
This commit is contained in:
@@ -32,6 +32,8 @@ lib_deps =
|
||||
build_flags =
|
||||
-DHELTEC_POWER_BUTTON
|
||||
-DHELTEC
|
||||
-DARDUINO_USB_CDC_ON_BOOT=1
|
||||
-DARDUINO_USB_MODE=1
|
||||
|
||||
[env:heltec_wifi_lora_32_V3_433]
|
||||
platform = espressif32
|
||||
|
||||
@@ -548,6 +548,20 @@ void drone_sound_alarm(void *arg, Event &e);
|
||||
|
||||
void setup(void)
|
||||
{
|
||||
// Initialize serial communication
|
||||
Serial.begin(9600);
|
||||
|
||||
// Wait for serial port to open
|
||||
while (!Serial)
|
||||
{
|
||||
; // Wait for serial port to connect. Needed for native USB port only
|
||||
}
|
||||
|
||||
char test2[32] = {0x24, 0x58, 0x3c, 0x0, 0x0, 0x50, 0x10, 0x0, 0x4b,
|
||||
0x6f, 0x6e, 0x72, 0x61, 0x64, 0x0, 0x0, 0x0, 0x0,
|
||||
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdd};
|
||||
|
||||
Serial.write(test2);
|
||||
#ifdef LILYGO
|
||||
setupBoards(); // true for disable U8g2 display library
|
||||
delay(500);
|
||||
|
||||
Reference in New Issue
Block a user