This library lets you connect an MRF24J40 tranceiver to your mbed. The MRF24J40 is intended for use as a zigbee or 6LowPan tranciever. However, it can also be used to simply send data from one tranceiver to another. The tranceiver is also available as a module on a small PCB with antenna etc. It requires no other components and can be connected to the mbed using 6 or 7 pins: MISO, MOSI, CLK, CS, WAKE, INT, RESET (optional). New: Added support for INT and WAKE pins. Added PrintBuffer function Added DebugDump function
Fork of MRF24J40 by
Diff: MRF24J40.cpp
- Revision:
- 2:d1e104b6ce31
- Parent:
- 0:0630ffe718d3
- Child:
- 3:f8a30ff66793
--- a/MRF24J40.cpp Wed Feb 16 07:53:48 2011 +0000 +++ b/MRF24J40.cpp Wed Jan 07 15:50:58 2015 +0000 @@ -78,7 +78,7 @@ Reset(); } -/* + void MRF24J40::DebugDump(Serial &ser) { ser.printf("MRF24J40 registers:\r"); @@ -106,7 +106,7 @@ ser.printf("CLCCTRL=0x%X\r", MrfReadLong(CLCCTRL)); ser.printf("\r"); } -*/ + void MRF24J40::Reset(void) {