hi thanks for the reply i got that solved .
i have another problem would appreciate your help .
am trying to read data from my receiver using xbee could you tell me
how to get sample ??
void getSample(){
if ( xbee.getResponse().isAvailable())
// Serial.println("GET SAMPLE CHECKPOINT");
// Serial.println("Searching Packet");
{
if(xbee.getResponse().getApiId() == RX_16_RESPONSE){
xbee.getResponse().getRx16Response(ioSample);
{
sampleValue = getRx16Response(ioSample);
Serial.println();
// Serial.println("Recieved New Packet");
this is my code but it doesnt seem to work
i get this error msg
XBEE_SERIAL_READ.cpp: In function 'void getSample()':
XBEE_SERIAL_READ:76: error: 'getRx16Response' was not declared in this
scope
XBEE_SERIAL_READ:84: error: expected `}' at end of input
> Email:
zmash...@gmail.com
>
> IM:
zakie_mash...@msn.com