On Sat, 2007-01-13 at 10:50 -0500, Martin Peach wrote:
> Also you could try changing the checkForInput function so that it stays
> there longer:
> Change:
> void checkForInput() {
> if(Serial.available()) {
> while(Serial.available()) {
> processInput( (byte)Serial.read() );
> }
> }
> }
>
> to:
> void checkForInput() {
> int i = 100;
> while (--i) {
> if(Serial.available()) {
> while(Serial.available()) {
> processInput( (byte)Serial.read() );
> }
> }
> }
> }
this worked for me. messages TO the board don't get delayed anymore.
many thanks again.
:-)
cheers
roman
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list