Go Down

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

Cheater

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

Isnt the Lillypad a 168? Not sure about the Bluetooth one.

mem

#11
Feb 06, 2008, 10:58 am Last Edit: Feb 06, 2008, 11:01 am by mem Reason: 1
Quote
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
No big deal at all (as long as users are aware that data may be missed if received while sending). Many thanks for taking the time and effort to impliment this. It will be very useful to me and I am sure many other people.




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

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!

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

Go Up