I'm trying to design a simple program that will vary the speed of a continous rotation servo dependant on how bright the sun is but I'm struggling to 'calibrate' the LDR to get a linear reading.
This is the main code I've come up with so far:
Init: Servo 1,150 'Stop servo
Main: readadc...