Acknowledgements and References

The DE2_TV code was obtained from theTerasic TechnologiesCD that accompanied the DE2 Board

Bruce Land provided the example neuron code, which we found on his site

As a reference source, we used the DE2 data sheet to find pin outs of GPIO

The ECE Department kindly lended us the Sony Handycam for use in our project.

The Code

Our project code is zipped here
The top level module is the DE2_TV. Included are all the necessary files to run BALL-E.
We wrote the modules detectRed, controlmotor, PWM, motorcontrol, and neuralNet.