1
TinyDuino Processors & TinyShields / Re: Bluetooth Module -- receiving garbage on serial port
« on: June 16, 2014, 02:07:00 PM »
Hello there,
For the past few days I wasn't able to sleep properly cause either my InputStream would freeze or it would give me garbage...
At this point I'm powering TinyDuino from PC, and serial communication speed of 9600.
With the code below I'm still getting some errors here and there like:
"test;test;test;ttst;test;;test;;testest;..."
but it's not garbage anymore. YMMV tho. I'm going to add some CRC on TinyDuino's side.
Hope this helps in any way,
w3
For the past few days I wasn't able to sleep properly cause either my InputStream would freeze or it would give me garbage...
At this point I'm powering TinyDuino from PC, and serial communication speed of 9600.
With the code below I'm still getting some errors here and there like:
"test;test;test;ttst;test;;test;;testest;..."
but it's not garbage anymore. YMMV tho. I'm going to add some CRC on TinyDuino's side.
Hope this helps in any way,
w3
Code: [Select]
void setup()
{
Serial.begin(9600);
}
void loop()
{
Serial.write("test");
Serial.write(";");
delay(200);
}