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

Dependents:   RF22_MAX_test_Send Geofence_receiver Geofence_sender Geofence_sender ... more

More Info about RFM22-modules like connecting and a demo-program see RF22-Notebook

Revision:
2:f6f42c2ba9f2
Parent:
0:79c6d0071c4c
Child:
3:c3c19f30ff69
--- a/RF22.cpp	Fri Feb 17 21:40:57 2012 +0000
+++ b/RF22.cpp	Sat Feb 18 20:34:59 2012 +0000
@@ -178,6 +178,11 @@
     setTxPower(RF22_TXPOW_8DBM);
 //    setTxPower(RF22_TXPOW_17DBM);
 
+// Set the AFC for receiver to max. 0,1MHz
+// Other AFC-Registers have PowerOnValues which enable AFC
+// RF22_AFC_LIMIT                          0x50   =0,1MHz
+   rf22.spiWrite(RF22_REG_2A_AFC_LIMITER, RF22_AFC_LIMIT);  // POR=0x00 = OFF
+
     return true;
 }