Quote:
Originally Posted by MazdaMatt
dcb, i don't mean a software uart.
|
Nor do I, There seems to be traces of UART code already
/trunk/ - Open ReVolt - Trac
it needs to enable the data received interrupt and add the handler SIG_UART_RECV. Pretty much how all of AVR does it AFAIK.
examples in the atmega8 datasheet UART section starting on page 133:
http://atmel.com/dyn/resources/prod_...ts/doc2486.pdf
Quote:
Originally Posted by charlie_fd
...Sorry if it sounds like a lecture ...
|
Problem is frequently people change stuff to fit their ideals and never test it. I personally prefer an "if it aint broke don't fix it" approach in situations where accountability is low (you aint getting fired if you mess up here). If there were some comprehensive unit tests to go along with the build it wouldn't be such a big deal, but that should be sorted out early.