Lab 3a - Finishing mic-servo application
In lab_3_ardu you built a microphone preamplifier and you wrote (or modified) code to control the servo motor.
In lab_4 you will design the schematics of a daughterboard PCB.
In this exercise you will start from a working example of the mic-servo program and modify it.
Here are the steps of this exercise.
Download the working example project mic-servo.zip
and use the AVR32 code here as a starting point or template.
Build your own Arduino Sketch for the DSP chain.
Program your Arduino Nano and try to run it. Does it work?
If after several tries you give up, you can try this code
that includes a modified MSTimer2.cpp that overflows every 100us as a fixed rate.