Hi Kiste,

Thanks for the effort.

I will validate the library (running a Python script to check against the 
'coding rules') and will commit it for you.

BTW. Something completely different for all JAL users. In one of the new bee 
packages I solved an inconsistency problem in quite some device files. Only is 
you use the 'fuses' keyword ZCD, then you must fix that.

Instead of 'pragma ZCD on' it should be 'pragma ZCD enabled' (or disabled). The 
motivation for this that for some devices 'on' was enabled and for others 'on' 
was disabled. I know changed  them all to the correct enabled or disabled.

I am not sure if you will encounter this but at least you are aware in case you 
get a compilation error.


Kind regards,

Rob

________________________________
Van: 'Oliver Seitz' via jallib <[email protected]>
Verzonden: maandag 2 november 2020 11:04
Aan: [email protected] <[email protected]>
Onderwerp: [jallib] RFC: One-Wire and interrupts

Hi all!

I've had problems using serial_hw_int_cts and ds18b20 in a program, so I've 
made some additions to the one_wire library. You can define a safety level: 
Level 1 makes errors to occur less often with few side effects. Level 2 reduces 
errors triggered by interrupts to zero, but it will limit e.g. serial reception 
to a speed of 19200 baud.

The default of level 0 works as before to keep compatibility.

The most annoying error I've seen was that the "convert temp"-command was 
regularly corrupted, so I got during several minutes always the same reading of 
the scratchpad which was a temperature of a long time ago.
Then, occasionally the power-up after the write was delayed so the sensors did 
reset, giving a wrong temperature of 85°C.

If there are no objections, could someone commit the attached file please?

Thanks,
Kiste

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/1904390978.575683.1604311459507%40mail.yahoo.com<https://groups.google.com/d/msgid/jallib/1904390978.575683.1604311459507%40mail.yahoo.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/AM0PR07MB62414B69276202DBB418E70CE6100%40AM0PR07MB6241.eurprd07.prod.outlook.com.

Reply via email to