XasWorks / XasCode

Repository of all the important multi-project libraries
GNU General Public License v3.0
5 stars 2 forks source link

Work on the analog sensors #13

Closed Xasin closed 7 years ago

Xasin commented 7 years ago

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 Reviewable

Xasin commented 7 years ago

Reviewed 2 of 4 files at r1, 2 of 2 files at r2, 1 of 1 files at r3. Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable