Dont forget to set the analogue ports to digital.
I believe it to be cmon = 7