Hi Geert, so if you think you're done with the driver I will try to implement it. To get me right the 20 ms I mentioned included a little more than just reading the pcf8591. -> reading pcf8591 devices -> calculating real values -> logging of those values -> storing into database in parallel
~ 24 ms as you can see below 1024:2007-01-12 19:28:14.897:Info3 => TSE 12.01.07 19:28:04 - 54.250000 C 1024:2007-01-12 19:28:14.898:Info3 => TSA 12.01.07 19:28:04 - 55.000000 C 1024:2007-01-12 19:28:14.899:Info3 => TWU 12.01.07 19:28:04 - 55.000000 C 1024:2007-01-12 19:28:14.901:Info3 => TWO 12.01.07 19:28:04 - 55.000000 C 1024:2007-01-12 19:28:14.902:Info3 => TASUED 12.01.07 19:28:04 - 53.950001 C 1024:2007-01-12 19:28:14.904:Info3 => TANORD 12.01.07 19:28:04 - 54.549999 C 1024:2007-01-12 19:28:14.905:Info3 => TIFBH 12.01.07 19:28:04 - 54.549999 C 1024:2007-01-12 19:28:14.907:Info3 => TIRAD 12.01.07 19:28:04 - 54.700001 C 1024:2007-01-12 19:28:14.908:Info3 => TVFBH 12.01.07 19:28:04 - 54.650002 C 1024:2007-01-12 19:28:14.909:Info3 => TRFBH 12.01.07 19:28:04 - 54.799999 C 1024:2007-01-12 19:28:14.911:Info3 => TVRAD 12.01.07 19:28:04 - 54.750000 C 1024:2007-01-12 19:28:14.912:Info3 => TRRAD 12.01.07 19:28:04 - 54.500000 C 1024:2007-01-12 19:28:14.914:Info3 => TPU 12.01.07 19:28:04 - 55.000000 C 1024:2007-01-12 19:28:14.915:Info3 => TPO 12.01.07 19:28:04 - 55.000000 C 3256322:2007-01-12 19:28:14.918:Info => Storing into database! 1024:2007-01-12 19:28:14.921:Info => Sleep_timer But anyway I'm sure your implementation will be more complying to the i2c specification. So long, Klaus
