i was connecting a netwrok that works like this
1.xbee transmitter connectedc to a laptop
2.xbee connected to arduino
3.kcd connected to arduino
* both xbee are talking with each other accept one thing ; when the xbee connected to the arduino then the reciever gets the ascii notes a-g as 255 instead of thir real values and q-z also as 255 instead of the real value
how to fix this?
my code is such :
#include <LiquidCrystal.h>
LiquidCrystal lcd (12,11,5,4,3,2);
void steup () {
lcd.begin(16,2);
Serial.begin(9600);
lcd.setCursor(0,0);
}
void loop() {
if (Serial.available() > 0 ) {
char (temp) = Serial.read() ;
lcd.print(temp) ;
}
}
ay ideas? i can see the notes h-p but thats it!...