Are you saying that bit of code did not produce a steady red?
If not you have something not wired up correctly.
Try another analogue input pin.
Are you saying that bit of code did not produce a steady red?
If not you have something not wired up correctly.
Try another analogue input pin.