TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: R.WIESER
from: OBRUT
date: 2019-11-23 13:29:00
subject: Re: One I2C bus, two prog

On 2019-11-23, R.Wieser  wrote:
> Hello all,
>
> I've got a few I2C modules (clock, temperature sensor, etc) that I would
> like to access using different programs.

Make one program which access I2C modules and serves other programs
through some protocol (sockets, message queues, REST API, whatever...).

Benefits:
 - you can scale to large number of consumers
 - consumers do not need to know anything about I2C
 - if you add additional modules which do not use I2C but some
   other protocol, they can be exposed through same interface

--
obruT

--- 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™.