General analog exercises




Voltage controlled oscillator

Implement a voltage controlled oscillator. Use the ADC to measure the control voltage in the range of 0V to 1V. The output square wave should be generated by toggling an output port bit in a timer interrupt. The transfer ratio must be 1kHz/1V.