Thread: OBDuino Mega
View Single Post
Old 09-26-2009, 04:04 AM   #12 (permalink)
jonoxer
EcoModding Lurker
 
Join Date: Sep 2009
Location: Melbourne, Australia
Posts: 15
Thanks: 1
Thanked 10 Times in 8 Posts
Quote:
Originally Posted by dcb View Post
if(y!=0) // save 2 bytes compared to "if(y==1)"
dr+=0x40;
Oh yeah, that's the problem right there. It assumes that if it's not the first row it must be the second.

Thanks DCB!

I'm running in 16x2 mode at the moment but once I've finished mucking around with the datalogging and GPS code I'll have a look at that.

Cheers :-)

Jonathan Oxer
  Reply With Quote