I follow the tutorial from here: http://playground.arduino.cc/Interfacing/Java and make the arduino receive values from a sender mote. Both of them have xbees on them. The problem which i face now is that the previous code burnt into the sender mote used to send 1s continiously based on sensor readings, i continue to get the undelivered 1s though it has been an hour after i burnt the new code into the sender. Is there a way to flush the receiver serial port and make it not receive the previous data? Please help. Thanks in advance,
--
Priyankar