Hi,
what is the recommended way to periodically search the 1-Wire bus for the
presence of new device?
I mean iButtons are connected to the bus randomly (on occasion).
If I
while 1:
root = Connection(oneWireAdapter)
s = root.find(type=iButtonType)[0]
Hi,
my previous post was sent incomplete by accident, sorry.
I would like to know what is the recommended way to periodically search the
1-Wire bus for the presence of new devices?
I mean iButtons, for example, are connected to the bus randomly (on
occasion).
If I do:
from pyowfs import
Petr Jake?? petr.ja...@tpc.cz probably said:
Hi,
my previous post was sent incomplete by accident, sorry.
I would like to know what is the recommended way to periodically search the
1-Wire bus for the presence of new devices?
I mean iButtons, for example, are connected to the bus randomly (on
Petr Jake?? petr.ja...@tpc.cz probably said:
1. If I create the root before the infinite loop, then the DS2401 device
is detected ONLY when present on (connected to) the bus during the time of
the instantiation of the root object
- if DS2401 disconnected the root.find method (running
I don't think pyowfs is intended to be used that way. Sounds like you
need something different.
Hmmm... thanks for the hint.
maybe I can just mount the OWFS and go through its directory structure from
the Python.
P.
The attached patch file did the job, I recommend it be applied to the
main branch!
Thanks!
(Sorry for the delay; I lost my dev platform for a while; just got it back up)
--Jim
On Tue, Aug 3, 2010 at 10:19 PM, Joshua J. Kugler jos...@azariah.com wrote:
On Saturday 31 July 2010, Paul Alfille
On Tuesday 10 August 2010, Jim Kusznir elucidated thus:
The attached patch file did the job, I recommend it be applied to the
main branch!
erm...no patch file attached. :)
j
--
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
jos...@azariah.com -
On Tuesday 10 August 2010, Joshua J. Kugler elucidated thus:
On Tuesday 10 August 2010, Jim Kusznir elucidated thus:
The attached patch file did the job, I recommend it be applied to
the main branch!
erm...no patch file attached. :)
j
Oh! You mean the file *I* attached to my e-mail.
Am Sonntag, den 21.02.2010, 08:15 +0200 schrieb tmk:
Well, first I have to give it capabilities. Right now it just does the ROM
commands.
It should be straightforward to expose most of the AVR functionality (pwm,
adc, pio, counter) or user defined stuff.
Oh, I'd *love* an AVR 1-Wire