p2p with rssi value

Dependents:   Lora_SX1272_serial_apr29-rssi

Revision:
2:a5a72d30cb18
Parent:
0:d974bcee4f69
diff -r 5d57c6a92509 -r a5a72d30cb18 ArduinoLike.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ArduinoLike.cpp	Tue Feb 06 09:58:17 2018 +0000
@@ -0,0 +1,13 @@
+// added by C.Dupaty
+// for Arduino compatibility
+#include "mbed.h"
+
+unsigned long micros(void)
+{
+     return us_ticker_read();
+}
+
+unsigned long millis(void)
+{
+    return micros()/1000;
+} 
\ No newline at end of file