LoRa_Node_STM32F103C8T6
Dependencies: mbed mbed-STM32F103C8T6 OneWireCRC_LoRa_Node SX1276Lib_LoRa_Node
Diff: RFM95W.h
- Revision:
- 6:531b8dccca06
- Parent:
- 5:6e899f5db65e
- Child:
- 8:978eb43296ae
--- a/RFM95W.h Mon Apr 30 17:10:02 2018 +0000 +++ b/RFM95W.h Mon Apr 30 22:41:57 2018 +0000 @@ -10,9 +10,6 @@ #define NODE_ID 2 // Moja adresa (id) //////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////// -/* Set this flag to '1' to display debug messages on the console */ -#define DEBUG_MESSAGE 0 /* Set this flag to '1' to use the LoRa modulation or to '0' to use FSK modulation */ #define USE_MODEM_LORA 1 @@ -55,11 +52,11 @@ #endif #define RX_TIMEOUT_VALUE 2500000 // in us // 3500000 -#define BUFF_SIZE 255 // Define the payload size here // 32 +#define BUFF_SIZE 255 // Define the payload size here // 32 #define MAX_DEVICES 255 #define MAX_RESENDS 4 //------------------------------------------------------------------------------ -//------------------------------------------------------------------------------ + class RFM95W {