TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: R.WIESER
date: 2019-12-02 09:53:00
subject: Re: One I2C bus, two prog

Jim,

> There are various timing tables for HD44780 operations in the
> data sheet which can be used. Makes it a lot simpler

I'm aware of the "just wait for a bit" solution (no pun intended :-) ).  But
both the need to have to specify the timings for all kinds of different
actions (complicates the matter) as well as the doubt if it wil work for any
random connected display made me choose polling the busy line over it.
Dependability over simplenes I'm afraid.

> and you would generate a hell of a lot of I2C traffic.

:-)  Thats why I normally stick a small delay into the loop.   Long enough
to give other calls a chance, and short enough to keep the overall delay
small.

Regards,
Rudy Wieser

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.