![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
EIoT LoRa node 3 - Working ok
Dependencies: BufferedSerial SX1276GenericLib-node1 mbed
Fork of DISCO-L072CZ-LRWAN1_LoRa_node by
main.h@12:a6a37ba1feff, 2018-08-08 (annotated)
- Committer:
- sagilar
- Date:
- Wed Aug 08 22:33:19 2018 +0000
- Revision:
- 12:a6a37ba1feff
- Parent:
- 0:c43b6919ae15
LoRa node acquiring analog input and sending to LoRa Server - Working ok
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Helmut64 | 0:c43b6919ae15 | 1 | /* |
Helmut64 | 0:c43b6919ae15 | 2 | * Copyright (c) 2017 Helmut Tschemernjak |
Helmut64 | 0:c43b6919ae15 | 3 | * 30826 Garbsen (Hannover) Germany |
Helmut64 | 0:c43b6919ae15 | 4 | * Licensed under the Apache License, Version 2.0); |
Helmut64 | 0:c43b6919ae15 | 5 | */ |
Helmut64 | 0:c43b6919ae15 | 6 | |
Helmut64 | 0:c43b6919ae15 | 7 | #include "mbed.h" |
sagilar | 12:a6a37ba1feff | 8 | //#include "mbed-os.h" |
Helmut64 | 0:c43b6919ae15 | 9 | #include "PinMap.h" |
Helmut64 | 0:c43b6919ae15 | 10 | #include "BufferedSerial.h" |
Helmut64 | 0:c43b6919ae15 | 11 | #include "GenericPingPong.h" |
Helmut64 | 0:c43b6919ae15 | 12 | |
Helmut64 | 0:c43b6919ae15 | 13 | void SystemClock_Config(void); |
Helmut64 | 0:c43b6919ae15 | 14 | |
Helmut64 | 0:c43b6919ae15 | 15 | extern BufferedSerial *ser; |
Helmut64 | 0:c43b6919ae15 | 16 | extern void dump(const char *title, const void *data, int len, bool dwords = false); |
Helmut64 | 0:c43b6919ae15 | 17 | |
Helmut64 | 0:c43b6919ae15 | 18 | #define dprintf(...) { ser->printf(__VA_ARGS__); ser->printf("\r\n"); } |