This PR adds the long-wanted analog sensor class, together with intersection-detection support & almost perfect 90° edge detecting.
The two center sensors for the analog sensors ought to be placed both INSIDE the line, and should read higher voltage the darker the line.
The two outer sensors should be placed as distant from the center line as possible, to allow for a very wide detecting range in case of a missed line, as well as as little as possible false readings of 90° line sections.
They can be digital, but must be connected to the analog PORTA (as for now, at least).
This PR adds the long-wanted analog sensor class, together with intersection-detection support & almost perfect 90° edge detecting.
The two center sensors for the analog sensors ought to be placed both INSIDE the line, and should read higher voltage the darker the line. The two outer sensors should be placed as distant from the center line as possible, to allow for a very wide detecting range in case of a missed line, as well as as little as possible false readings of 90° line sections. They can be digital, but must be connected to the analog PORTA (as for now, at least).
This change is