Playing with an RFBee... It has an ATmega168 (which can be re-programmed with the Arduino development environment). It also has a CC1101 to manage the RF communications via an SPI interface.

One of the key pieces of information is understanding how to access the I/O - The "pin number" as defined in the Arduino development environment does not necessarily match the pins on the ATMega168 or the RFBee The following #defines help ;-)

/*
** Arduino reference for pins on the ATmega168 provided by the RFBee // RFBee pin, Description, Arduino pin #
*/

#define PIN_3V3 x // 1 Vcc,+3.3v
#define PIN_TX x // 2 Uart Tx port 1 (DIO)
#define PIN_RX x // 3 Uart Rx port 0 (DIO)
#define PIN_PD4 4 // 4 ATmega168 PD4 4 (DIO)
#define PIN_RST x // 5 ATmega168 Reset port
#define PIN_PB1 9 // 6 ATmega168 PB1 9 (DIO)
#define PIN_PB0 8 // 7 ATmega168 PB0 8 (DIO)
#define PIN_PD7 7 // 8 ATmega168 PD7 7 (DIO)
#define PIN_DTR x // 9 Used for programming the ATmega168
#define PIN_GND x // 10 GND
#define PIN_PC3 17 // 11 ATmega168 PC3 17 (DIO) 3 (Analog input)
#define PIN_PC2 16 // 12 ATmega168 PC2 16 (DIO) 2 (Analog input)
#define PIN_PC1 15 // 13 ATmega168 PC1 15 (DIO) 1 (Analog input)
#define PIN_VREF x // 14 ATmega168 AREF port
#define PIN_PC0 14 // 15 ATmega168 PC0 14 (DIO) 0 (Analog input)
#define PIN_ADC7 21 // 16 ATmega168 ADC7 21 (DIO) 7 (Analog input) ???
#define PIN_PD5 5 // 17 ATmega168 PD5 5 (DIO)
#define PIN_PD6 6 // 18 ATmega168 PD6 6 (DIO)
#define PIN_PC5 19 // 19 ATmega168 PC5 19 (DIO) 5 (Analog input)
#define PIN_PC4 18 // 20 ATmega168 PC4 18 (DIO) 4 (Analog input)

/*
** Arduino reference for pins on the ATmega168 NOT provided by the RFBee // RFBee pin, Description, Arduino pin #
*/

#define PIN_ADC6 20 // x ATmega168 ADC6 20 (DIO) 6 (Analog input)
#define PIN_PD2 2 // x ATmega168 PD2/INT0 [connects to CCx] 2 (DIO)
#define PIN_PD3 3 // x ATmega168 PD3/INT1 [connects to CCx] 3 (DIO)
#define PIN_PB2 10 // x ATmega168 PB2/SS [connects to CCx] 10 (DIO)
#define PIN_PB3 11 // x ATmega168 PB3/MOSI [connects to CCx] 11 (DIO)
#define PIN_PB4 12 // x ATmega168 PB2/MISO [connects to CCx] 12 (DIO)
#define PIN_PB5 13 // x ATmega168 PB3/SCK [connects to CCx] 13 (DIO)