View Single Post
Old 10-26-2010, 04:16 PM   #4 (permalink)
Magister
OBDuino coder
 
Magister's Avatar
 
Join Date: Jun 2008
Location: Montréal, QC
Posts: 212

Titine - '13 Hyundai Sonata Hybrid
Thanks: 3
Thanked 10 Times in 8 Posts
you can also gain a lot of speed by changing the two instances of

delay2(5);

in LcdCommandWrite() and LcdDataWrite() with something like

delayMicroseconds2(43);

because if you display 16x2 so 32 characters on the screen, you are losing about 160ms every refresh, for nothing, as displaying 32 characters needs less than 1.5ms.
__________________
2013 Hyundai Sonata Hybrid
  Reply With Quote