*** SET 1-Wire Flasher Address from 0x0EE0 to 0x0EC0 **** for more freedom to impleme...
[owSlave2.git] / DS18B20_MAX44009 / DS18B20_MAX44009.c
index 3bd4e66..f4bd316 100644 (file)
@@ -108,7 +108,7 @@ int main(void){
     while(1)   {
        
                if (gcontrol) {
-                       volatile double l=MAX44009getlux();             
+                       volatile double l=MAX44009getlux(1);            
                        if (l<0.030) l=0.030; //Darf nicht 0 sein. minimum -35°C Sensor minimum 0.045
                        //double l=1000;
                        l=log(l)*10*16;