fixed sensor read
initial commit