p2p with rssi value
Dependents: Lora_SX1272_serial_apr29-rssi
ArduinoLike.cpp@7:e99757b7c421, 2021-07-08 (annotated)
- Committer:
- afzalsamira
- Date:
- Thu Jul 08 20:12:14 2021 +0000
- Revision:
- 7:e99757b7c421
- Parent:
- 2:a5a72d30cb18
rssi is added and it works correctly
Who changed what in which revision?
User | Revision | Line number | New 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 | } |