December 29, 2016
Shine a light on your Edison and it quickly follows your torch.
The program is very simple. In an endless loop it measures each light sensor output. The it uses the value from the left light sensor as the speed parameter for the right drive motor and vice versa.
To make the light sensor output value fit into the range the drive motor expects the program divides it by 100 first.