mBed RFM12B module library
Fork of RF12B by
RFM12B Library
The main purpose of this library was to implement the RFM12B module in order to be able to establish communication with the Moteino (arduino clone that uses the RFM12B).
In order to achieve my goal I was highly inspired by RF12B library from pangsk https://mbed.org/users/pangsk/ and by RFM12B arduino library made by Felix Rusu (http://lowpowerlab.com/blog/2012/12/28/rfm12b-arduino-library/)
Who/What is Moteino? (http://lowpowerlab.com/moteino/)
Diff: RF12B.cpp
- Revision:
- 2:cfeb4c9cdbe3
- Parent:
- 1:27a1606deace
- Child:
- 3:e926e54424cb
diff -r 27a1606deace -r cfeb4c9cdbe3 RF12B.cpp --- a/RF12B.cpp Sun Jan 01 22:09:41 2012 +0000 +++ b/RF12B.cpp Mon Jan 30 21:43:24 2012 +0000 @@ -84,7 +84,7 @@ writeCmd(0xC2AC); // AL,!ml,DIG,DQD4 writeCmd(0xCA83); // FIFO8,2-SYNC,!ff,DR - writeCmd(0xCE00 | 1); // SYNC=2DXX; + writeCmd(0xCE00 | group); // SYNC=2DXX; writeCmd(0xC483); // @PWR,NO RSTRIC,!st,!fi,OE,EN writeCmd(0x9850); // !mp,90kHz,MAX OUT