Moved RFM69 library to utility
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
#include <RHReliableDatagram.h>
|
||||
#include "MyDriver.h"
|
||||
#include "MyDriverRF69.h"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "MyConfig.h"
|
||||
#include "MyDriver.h"
|
||||
#include <stdint.h>
|
||||
#include "RFM69.h"
|
||||
#include "utility/RFM69.h"
|
||||
#include <SPI.h>
|
||||
|
||||
#define NODEID 2 //unique for each node on same network
|
||||
@@ -41,4 +41,4 @@ private:
|
||||
uint8_t _address;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
// Please maintain this license information along with authorship
|
||||
// and copyright notices in any redistribution of this code
|
||||
// **********************************************************************************
|
||||
#include <RFM69.h>
|
||||
#include <RFM69registers.h>
|
||||
#include "RFM69.h"
|
||||
#include "RFM69registers.h"
|
||||
#include <SPI.h>
|
||||
|
||||
volatile byte RFM69::DATA[RF69_MAX_DATA_LEN];
|
||||
@@ -461,4 +461,4 @@ void RFM69::rcCalibration()
|
||||
{
|
||||
writeReg(REG_OSC1, RF_OSC1_RCCAL_START);
|
||||
while ((readReg(REG_OSC1) & RF_OSC1_RCCAL_DONE) == 0x00);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user