Timer/PCA exercises




High-speed output by the PCA

Write code that generates a signal that is toggled with the following timing: 1 ms, 2 ms, 4 ms and 8 ms, and repeats this sequence infinitely. Use the high-speed output mode to implement the code. Check the result on an oscilloscope.