cc1101- aurdino interfacing

ctually i m using the aurdino board to control the cc1101 ic using SPI.....
i m trying to write to its configuration registers....

so here is the code

#include <ELECHOUSE_CC1101.h>
#define SS 10
#define MOSI 11
#define MISO 12
#define SCK 13

#define pinMode(SCK_PIN, OUTPUT)
#define pinMode(MOSI_PIN, OUTPUT)
#define pinMode(MISO_PIN, INPUT)
#define pinMode(SS_PIN, OUTPUT)

byte s;
void setup ()
{
Serial.begin(9600);
ELECHOUSE_cc1101.Init();
s= ELECHOUSE_cc1101.SpiReadReg(CC1101_FREQ0);
Serial.println (s);
}
void loop()
{
}

using this code i get 0 where as i m writing 0x62 in FREQ0 register....... i m using Elechouse library files... if u can help in this matter... i can provide the code files as well

no help :drooling_face: :roll_eyes: