Go Down

Topic: software serial2 (Read 3 times) previous topic - next topic

mem

Thanks for that, it will be a huge help.

One question, with interrupts turned off when sending a char, does that mean that receive bits will be lost if they are presented at the same time as a character is being sent?

John_Ryan

Quote
[

er, no..."currently only for Diecimila (16mhz atmega168)"  ;)


er, pity

ladyada

Quote
Thanks for that, it will be a huge help.

One question, with interrupts turned off when sending a char, does that mean that receive bits will be lost if they are presented at the same time as a character is being sent?


yes
but the old software serial couldnt do that either so its not really a big deal

ladyada

Quote
Quote
[

er, no..."currently only for Diecimila (16mhz atmega168)"  ;)


er, pity



send me a lilypad an an NG with an 8mhz xtal and ill make it work with 'em!

John_Ryan

Quote
Quote
Quote
[

er, no..."currently only for Diecimila (16mhz atmega168)"  ;)


er, pity

send me a lilypad an an NG with an 8mhz xtal and ill make it work with 'em!


I needed a solution a while back, but improvised this instead.

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1201476854/5#5

This should work with your 168's aye, if I wanted to make something like a dualCoreDuino  ;D

Go Up