hey,
i need help regaring cc1101 interface with aurdino........
i m using elechouse library files....
i m trying to read the value of the configuration register FREQ0
here is the code
#include <ELECHOUSE_CC1101.h>
byte s;
void setup ()
{
Serial.begin (9600);
ELECHOUSE_cc1101.Init();
s= ELECHOUSE_cc1101.SpiReadReg(CC1101_FREQ0);
Serial.println(s);
}
void loop ()
{}
but this returns me 0 everytime........ where as i set its value as 0x62... can some 1 help plxxx?????
