Given that, my hint is: just wait the time (depending on the resolution
+ 10-20%) and *then* read the scratchpad. Never before, as it may
contain simply crap..

(it's nearly impossible to code in arduino real power-saving, with the
same Atmega, plain gcc 95%(!!) less power-usage is possbile..)

An Arduino-Lib for 1w withOUT "delay" would surely be a first, very good
step :)

Michael

P.S.: I have a bunch of Arduinos but even more, AVRs and coded a slave
and an low-level 1w-analyzer for/with avr..

On 07.10.2014 00:19, Colin Reese wrote:
> Again, sorry for off-topic. You all are, however, the best 1W resource I 
> know.
> 
> I indeed meant to specify powered.
> 
> I started with the OneWire library and added in a few things. The actual 
> code I'm using is here with a description of what I've been playing with:
> 
> http://www.cupidcontrols.com/2014/10/moteino-arduino-and-1wire-optimize-your-read-for-speed/
> 
> At the moemnt, I am going to tell the thing to go do its other stuff 
> until it's time to read scratchpad.
> 
> Colin

------------------------------------------------------------------------------
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to