Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

RE: [AVR-Chat] Re:Tiny2313

2007-02-16 by Tim Mitchell

David Kelly wrote:
> On Fri, Feb 16, 2007 at 11:53:22AM -0000, Tim Mitchell wrote:
>> 
>> This is true - it's not a fault, just means your software has not
>> initialised the display. 
>> 
>> The controllers on the LCDs are really really slow compared to AVR
>> speed. If your LCD initialisation is not working, try putting wait
>> loops in everywhere - you have to wait several milliseconds for the
>> controller to initialise properly.
> 
> Most don't do it but I have always advocated polling the busy bit on
> the LCD controller rather than use timing loops. 

According to my LCD code (which does work, but I wrote it a while ago)
you can't use the busy bit while initialising the controller - you have
to just wait. And wait....

-- 
Tim Mitchell
tim@sabretechnology.co.uk http://www.sabretechnology.co.uk
Sabre Technology (Hull) Ltd, 3a Newlands Science Park, Hull HU6 7TQ
t:01482 801003 f:01482 801078

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.