Show Posts
Pages: 1 ... 10 11 [12]
166  Forum 2005-2010 (read only) / Interfacing / Re: Xbee problems on: February 21, 2010, 07:09:35 pm
this is the code:
transmitter:
int analogValue2, analogValue5, val2, val5;

void setup()
{
// start serial port at 19200 bps
Serial.begin(19200);
}

void loop()
{
// read analog input
analogValue2 = analogRead(2);


// remap values

val2 = map(analogValue2, 0, 1023, 253, 0);  // 254 and 255 for SYNC

Serial.print(100, DEC);

delay(150);
}

It only prints 100.

do you have a example code?
167  Forum 2005-2010 (read only) / Interfacing / Re: Xbee problems on: February 21, 2010, 06:54:59 pm
Didnt seem to work now im receiving characters that make no sence like: b[ch132]:ótEch133]FóEóDEóEóDóEch132]5ch132]EójFóEó¤EóEóD

is what i got back any other suggestions?
168  Forum 2005-2010 (read only) / Interfacing / Xbee problems on: February 21, 2010, 06:22:35 pm
Hello, im new to this forum and this post is most likely in the wrong spot but... I have been trying to figure out my xbees they are series one and ive been attempting to send the value 100 over to a different arduino. The problem is that i receive weird numbers; this is what i get back:
Ready!
6
129
0
1
59
0
100
222
126
0
6
129
0
1
59
0
100
222
126
0
6
129
0
1
62
0
100
219
126
0
6
129
0
1
63
0
100
218
126
0
6
i receive 100 every now an then but not repetitive. my baud rate is set at 19200. ANY help is appreciated.
169  Forum 2005-2010 (read only) / Frequently-Asked Questions / ctrl-z in xctu??? on: March 27, 2010, 06:15:29 pm
Im trying to send ctrl-z with xctu but i am unshure on how to do this. :-/
any suggestions?
Pages: 1 ... 10 11 [12]