From: Dirk Reske <linux-i2c-fKsByPrBVO2oYr4blSSd5g@public.gmane.org>
To: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: i2c beginner question
Date: Thu, 16 May 2013 23:13:39 +0200 [thread overview]
Message-ID: <51954C03.6040808@dirkreske.de> (raw)
Hallo,
I have to collect data from multiple external i2c devices.
My question is, what is the correct way?
1: Open i2-device-file, set slave address, read data, close i2c device
file and go on with the next one
2: keep the i2c device file open all the time, and change slave address
before every access to device
3: ???
greets
Dirk
reply other threads:[~2013-05-16 21:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51954C03.6040808@dirkreske.de \
--to=linux-i2c-fksbyprbvo2oyr4blssd5g@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.