View Single Post
Old 04-30-2008, 11:09 PM   #21 (permalink)
Coyote X
nut
 
Coyote X's Avatar
 
Join Date: Dec 2007
Location: Southen West Virginia
Posts: 621

Metro XFi - '93 Metro XFi Convertible
90 day: 62.17 mpg (US)

DR650SE - '07 DR650SE
90 day: 55.26 mpg (US)

Moonbeam - '94 Astro Conversion
90 day: 22.31 mpg (US)
Thanks: 0
Thanked 8 Times in 7 Posts
Send a message via ICQ to Coyote X Send a message via AIM to Coyote X Send a message via MSN to Coyote X Send a message via Yahoo to Coyote X Send a message via Skype™ to Coyote X
If this was a computer based system I would say build up some libraries and just call the functions as you need them. But for embedded stuff I always liked to minimize the function calls and stick with the standard libraries for whatever ide is being used.

Having a huge number of functions might in theory make the code more modular but it also makes it take longer to run and takes up more memory. So I say make a main loop do the extreme basics like update the display only and let the interrupts do the bulk of the work.

My vote is for the absolute basic features for the first revision and once that actually works then go wild with adding stuff on to it


(Support Ecomodder.com & get rid of these annoying ads!)      
 
__________________

My Convertible Metro XFI Plug in Hybrid Project build log
  Reply With Quote