Generating high frequencies with AVR ATMEGA (Arduino)

While playing with the touch interface i generated high frequencies with the Arduino. I think this could be useful for other applications so here is the Arduino code for generating high frequencies. Here is a list of possible frequencies.

Bear in mind that the frequency resolution is very low at high frequencies and the duty cycle is not allays 50 %.

Leave a Reply