Library for HopeRF RFM22 transceiver module ported to mbed. Original Software from Mike McCauley (mikem@open.com.au) . See http://www.open.com.au/mikem/arduino/RF22/

Fork of RF22 by Karl Zweimüller

Files at this revision

API Documentation at this revision

Comitter:
floha
Date:
Thu Aug 29 21:57:14 2013 +0000
Parent:
8:d9e2ca137f2e
Commit message:
changed the LED default numbers in the RF22 constructor as the former values interfered with pins used on an KL25Z board. The library didn't work with those.

Changed in this revision

RF22.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r d9e2ca137f2e -r 46fb41f4259d RF22.cpp
--- a/RF22.cpp	Sun Apr 07 11:42:36 2013 +0000
+++ b/RF22.cpp	Thu Aug 29 21:57:14 2013 +0000
@@ -58,7 +58,7 @@
 };
 
 RF22::RF22(PinName slaveSelectPin, PinName mosi, PinName miso, PinName sclk, PinName interrupt)
-    : _slaveSelectPin(slaveSelectPin),  _spi(mosi, miso, sclk), _interrupt(interrupt), led1(LED1), led2(LED2), led3(LED3), led4(LED4)
+    : _slaveSelectPin(slaveSelectPin),  _spi(mosi, miso, sclk), _interrupt(interrupt), led1(LED4), led2(LED2), led3(LED3), led4(LED4)
 {