Most Lego sensors that i have seen use a bridge recifier so that they do only need to have two wires to operate. Also this allows the sensor to be plugged in at any orientation. The circuit for the light sensor is no different.

Using an Arduino, you would connect one wire to an output port and the other wire to an input. By reading the additional article at the bottom of the page, i would say that you should be able to turn the sensor on at the Arduino output for 1.2ms then off for 0.1ms. While off, read the value of the sensor at this time on the Arduino input.

This article also states that the lego RCX is outputting 8V so as the Arduino will only output 5V, you will need to take multiple values and extrpolate a table of values to determine the reading. The value will correspond to an analogue value of 0 to 127 from a lego sensor.

Lego Color Sensor + Arduino
Each time I try to convert (in QGIS 2.2) an elevation model from .tif to .bil format a get this error:

ERROR 1: Attempt to create ESRI .hdr labelled dataset with an illegal 
data type (Float64). 

The same error occurs when I use the clipper with .bil as output file format.

any hint or tipps what the error message means?

thank you and best regards,

Flo
