Why do i get : 'sensorValue' was not declared in this scope. ?

thx this worked :wink: