View Single Post
Old 05-26-2009, 12:35 PM   #1443 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 Posts
Quote:
Originally Posted by MazdaMatt View Post
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 View Post
...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.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote