On Fri, Feb 16, 2007 at 04:10:02PM -0000, Tim Mitchell wrote: > David Kelly wrote: > > > > 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.... Was looking this morning at the code I wrote in 1990 and haven't revised since. In a loop I wrote 0x38 to my 8 bit port, toggled E, waited 15ms, repeated 2 more times. Concern was if I caught the controller in 4 bit hi or 4 bit low states that my desire to run in 8 bit mode would get thru. Later commands polled the controller for busy. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.
Message
Re: [AVR-Chat] Re:Tiny2313
2007-02-16 by David Kelly
Attachments
- No local attachments were found for this message.