p2p with rssi value

Dependents:   Lora_SX1272_serial_apr29-rssi

Committer:
cdupaty
Date:
Tue Feb 06 09:58:17 2018 +0000
Revision:
2:a5a72d30cb18
Parent:
Arduino.cpp@0:d974bcee4f69
Version of C.Pham project (university of Pau, France) ; Originally for Arduino. Ported on NUCLEO L073RZ; Please read main.cpp

Who changed what in which revision?

UserRevisionLine numberNew contents of line
cdupaty 2:a5a72d30cb18 1 // added by C.Dupaty
cdupaty 2:a5a72d30cb18 2 // for Arduino compatibility
cdupaty 0:d974bcee4f69 3 #include "mbed.h"
cdupaty 0:d974bcee4f69 4
cdupaty 0:d974bcee4f69 5 unsigned long micros(void)
cdupaty 0:d974bcee4f69 6 {
cdupaty 0:d974bcee4f69 7 return us_ticker_read();
cdupaty 0:d974bcee4f69 8 }
cdupaty 0:d974bcee4f69 9
cdupaty 0:d974bcee4f69 10 unsigned long millis(void)
cdupaty 0:d974bcee4f69 11 {
cdupaty 0:d974bcee4f69 12 return micros()/1000;
cdupaty 0:d974bcee4f69 13 }