LoRa Access Point 1.5.2018
Dependencies: mbed ds3231 SX1276Lib_LoRa_Access_Point
Board.h@3:7a3ddda464bf, 2018-04-23 (annotated)
- Committer:
- lukas_formanek
- Date:
- Mon Apr 23 21:28:36 2018 +0000
- Revision:
- 3:7a3ddda464bf
- Parent:
- 2:0499e1d037a5
- Child:
- 8:5d99fbf255d6
23.4.2018 ver 2
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 | 2:0499e1d037a5 | 6 | #define BAUDRATE 115200 |
lukas_formanek | 1:7543af31b91f | 7 | #define LED_BLIK_PERIOD 0.10 |
lukas_formanek | 1:7543af31b91f | 8 | |
lukas_formanek | 3:7a3ddda464bf | 9 | #define LED_PIN PB_0 |
lukas_formanek | 3:7a3ddda464bf | 10 | #define NOISE_PIN PB_1 |
lukas_formanek | 2:0499e1d037a5 | 11 | |
lukas_formanek | 1:7543af31b91f | 12 | #define WIFI_TX PA_2 |
lukas_formanek | 1:7543af31b91f | 13 | #define WIFI_RX PA_3 |
lukas_formanek | 1:7543af31b91f | 14 | #define WIFI_RST PA_1 |
lukas_formanek | 2:0499e1d037a5 | 15 | |
lukas_formanek | 1:7543af31b91f | 16 | #define BT_TX PA_11 |
lukas_formanek | 1:7543af31b91f | 17 | #define BT_RX PA_12 |
lukas_formanek | 2:0499e1d037a5 | 18 | |
lukas_formanek | 1:7543af31b91f | 19 | #define PC_TX PA_9 |
lukas_formanek | 1:7543af31b91f | 20 | #define PC_RX PA_10 |
lukas_formanek | 1:7543af31b91f | 21 | |
lukas_formanek | 1:7543af31b91f | 22 | #define RFM_MOSI PA_7 |
lukas_formanek | 1:7543af31b91f | 23 | #define RFM_MISO PA_6 |
lukas_formanek | 1:7543af31b91f | 24 | #define RFM_SCK PA_5 |
lukas_formanek | 1:7543af31b91f | 25 | #define RFM_NSS PB_6 |
lukas_formanek | 1:7543af31b91f | 26 | #define RFM_RST PA_0 |
lukas_formanek | 1:7543af31b91f | 27 | #define RFM_DIO0 PB_10 |
lukas_formanek | 1:7543af31b91f | 28 | #define RFM_DIO1 PB_3 |
lukas_formanek | 1:7543af31b91f | 29 | #define RFM_DIO2 PB_5 |
lukas_formanek | 1:7543af31b91f | 30 | #define RFM_DIO3 PB_4 |
lukas_formanek | 1:7543af31b91f | 31 | #define RFM_DIO4 PA_8 |
lukas_formanek | 1:7543af31b91f | 32 | #define RFM_DIO5 PC_7 |
lukas_formanek | 1:7543af31b91f | 33 | |
lukas_formanek | 1:7543af31b91f | 34 | extern Serial pc; |
lukas_formanek | 1:7543af31b91f | 35 | |
lukas_formanek | 1:7543af31b91f | 36 | #endif |