This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cc2530ZNP Accelerometer read example



Hi,

I have got cc2530ZNP small communication kit ,. I'm able to have coordinator and end devices communicate with each other(simple communication example).  and made the  r end device become a temperature sensor  to read the on-chip temperature sensor of MSP430F2274 on the ZNP Mini Kit and include that in the messages being transferred.

 I am able to receive the Temp  sensor message on at co-coordinator ( Hyper terminal) , Now I want to interface the Accelerometer code to read the X-y axis at end device to send these values to the co-coordinator . 

 

I took the Accelerometer read example code from Hardware interface sample file and included in the communication example , but I'm not able to read the accelerometer values , I'm getting some junk values .

Can any one pls suggest a way to do this ..