Arduino Contol Fails

DavidOConnor:

What is getting stored in sensorValue? Why not print it, and find out?

How about you read the code?

There's a world of difference between sending something to a serial port, and actually printing it.