User Manual
4
D/A and A/D tests in C ................................................................................................................. 35
D/A and A/D tests in Python......................................................................................................... 36
Combined Tests .................................................................................................................................... 38
A/D and Motor Controller ................................................................................................................ 38
Potmot Test in C ........................................................................................................................... 39
Potmot test in Python .................................................................................................................... 39
Decoder ............................................................................................................................................. 40
Decoder Test in C ......................................................................................................................... 40
ATmega Device .................................................................................................................................... 41
Programming the ATmega ................................................................................................................ 41
Arduino Pins on the Gertboard ..................................................................................................... 42
A Few Sketches to Get You Going ................................................................................................... 42
Uploading Sketches using the SPI Bus ......................................................................................... 43
Blink Sketch .................................................................................................................................. 43
Button Sketch ................................................................................................................................ 44
AnalogInput Sketch ...................................................................................................................... 46
AnalogReadSerial Sketch Using Minicom ................................................................................... 47
LEDmeter Sketch .......................................................................................................................... 48
Going Forward .............................................................................................................................. 50
For More Information ........................................................................................................................... 50
Appendix A: Schematics ....................................................................................................................... 50