Generating 8 MHz clock using Arduino Micro

leotakacs:
Is there a way to modify the code to output 4MHz? I'm pretty good with Arduinos but I am SO lost with this....

  1. Don't revive an old thread like this.

  2. Change the value written to OCR1A.