Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: pulga-lorawan-drv SX1272
Diff: main.cpp
- Revision:
- 9:cf555a570349
- Parent:
- 8:856f7a8cc20c
- Child:
- 10:f6ff8ec221ec
--- a/main.cpp Wed Mar 24 20:14:32 2021 +0000
+++ b/main.cpp Wed Mar 31 13:04:22 2021 +0000
@@ -1,7 +1,10 @@
+
#include "mbed.h"
#include "serial.h"
#include "lora.h"
+
+
///////////////////////////////////////
// Globals variables
///////////////////////////////////////
@@ -44,8 +47,12 @@
pc.printf("init\n");
pc.baud(9600);
pc.printf("config9600\n");
+
//enable serial rx interrupt
//pc.attach(&serial_post_to_queue, RawSerial::RxIrq);
+ wait_ms(250);
+
+
//____Configuration Lora
Thread eventThread;