diff --git a/Examples/MotionMote/MotionMote.ino b/Examples/MotionMote/MotionMote.ino index 6745a3f..41510fb 100644 --- a/Examples/MotionMote/MotionMote.ino +++ b/Examples/MotionMote/MotionMote.ino @@ -7,8 +7,7 @@ #include //get it here: https://www.github.com/lowpowerlab/rfm69 #include //get it here: https://github.com/lowpowerlab/spiflash -#include //get library from: https://github.com/rocketscream/Low-Power - //writeup here: http://www.rocketscream.com/blog/2011/07/04/lightweight-low-power-arduino-library/ +#include //get library from: https://github.com/LowPowerLab/LowPower #define NODEID 18 //unique for each node on same network #define NETWORKID 100 //the same on all nodes that talk to each other diff --git a/README.md b/README.md index fc897f5..7d563ee 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ See [this tutorial](http://learn.adafruit.com/arduino-tips-tricks-and-techniques - The library and examples are continuously improved as bugs and stability issues are discovered. Be sure to check back often for changes. - Moteino boards are loaded with fuses that will delay startup. This means that other boards like Duemilanove/UNO might need a delay() in the setup() function before doing anything - to allow the transceiver to power up. -###Saple usage +###Sample usage - [Node](https://github.com/LowPowerLab/RFM69/blob/master/Examples/Node/Node.ino) - [Gateway](https://github.com/LowPowerLab/RFM69/blob/master/Examples/Gateway/Gateway.ino) diff --git a/RFM69.h b/RFM69.h index fdd5e78..23eb044 100644 --- a/RFM69.h +++ b/RFM69.h @@ -37,7 +37,7 @@ #define RF69_SPI_CS SS // SS is the SPI slave select pin, for instance D10 on atmega328 // INT0 on AVRs should be connected to RFM69's DIO0 (ex on Atmega328 it's D2, on Atmega644/1284 it's D2) -#if defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__) || defined(__AVR_ATmega88) || defined(__AVR_ATmega8__) || defined(__AVR_ATmega88__) +#if defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__) || defined(__AVR_ATmega88) || defined(__AVR_ATmega8__) || defined(__AVR_ATmega88__) || defined(__AVR_ATmega32U4__) #define RF69_IRQ_PIN 2 #define RF69_IRQ_NUM 0 #elif defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284P__) @@ -133,4 +133,4 @@ class RFM69 { void unselect(); }; -#endif \ No newline at end of file +#endif