LoRa Access Point 1.5.2018
Dependencies: mbed ds3231 SX1276Lib_LoRa_Access_Point
Board.h@1:7543af31b91f, 2018-04-18 (annotated)
- Committer:
- lukas_formanek
- Date:
- Wed Apr 18 22:05:03 2018 +0000
- Revision:
- 1:7543af31b91f
- Child:
- 2:0499e1d037a5
19.4.2018
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lukas_formanek | 1:7543af31b91f | 1 | #ifndef Board_H |
lukas_formanek | 1:7543af31b91f | 2 | #define Board_H |
lukas_formanek | 1:7543af31b91f | 3 | |
lukas_formanek | 1:7543af31b91f | 4 | #include "mbed.h" |
lukas_formanek | 1:7543af31b91f | 5 | |
lukas_formanek | 1:7543af31b91f | 6 | #define BAUDRATE 115200 |
lukas_formanek | 1:7543af31b91f | 7 | #define LED_BLIK_PERIOD 0.10 |
lukas_formanek | 1:7543af31b91f | 8 | |
lukas_formanek | 1:7543af31b91f | 9 | #define LED PB_0 |
lukas_formanek | 1:7543af31b91f | 10 | #define WIFI_TX PA_2 |
lukas_formanek | 1:7543af31b91f | 11 | #define WIFI_RX PA_3 |
lukas_formanek | 1:7543af31b91f | 12 | #define WIFI_RST PA_1 |
lukas_formanek | 1:7543af31b91f | 13 | #define BT_TX PA_11 |
lukas_formanek | 1:7543af31b91f | 14 | #define BT_RX PA_12 |
lukas_formanek | 1:7543af31b91f | 15 | #define PC_TX PA_9 |
lukas_formanek | 1:7543af31b91f | 16 | #define PC_RX PA_10 |
lukas_formanek | 1:7543af31b91f | 17 | |
lukas_formanek | 1:7543af31b91f | 18 | #define RFM_MOSI PA_7 |
lukas_formanek | 1:7543af31b91f | 19 | #define RFM_MISO PA_6 |
lukas_formanek | 1:7543af31b91f | 20 | #define RFM_SCK PA_5 |
lukas_formanek | 1:7543af31b91f | 21 | #define RFM_NSS PB_6 |
lukas_formanek | 1:7543af31b91f | 22 | #define RFM_RST PA_0 |
lukas_formanek | 1:7543af31b91f | 23 | #define RFM_DIO0 PB_10 |
lukas_formanek | 1:7543af31b91f | 24 | #define RFM_DIO1 PB_3 |
lukas_formanek | 1:7543af31b91f | 25 | #define RFM_DIO2 PB_5 |
lukas_formanek | 1:7543af31b91f | 26 | #define RFM_DIO3 PB_4 |
lukas_formanek | 1:7543af31b91f | 27 | #define RFM_DIO4 PA_8 |
lukas_formanek | 1:7543af31b91f | 28 | #define RFM_DIO5 PC_7 |
lukas_formanek | 1:7543af31b91f | 29 | |
lukas_formanek | 1:7543af31b91f | 30 | |
lukas_formanek | 1:7543af31b91f | 31 | |
lukas_formanek | 1:7543af31b91f | 32 | extern Serial pc; |
lukas_formanek | 1:7543af31b91f | 33 | |
lukas_formanek | 1:7543af31b91f | 34 | #endif |