Introduction - If you have any usage issues, please Google them yourself
During the counting mode 2, OUT terminal is high, when reduced to 0, OUT-ended output low pulse. In this study, low pulse triggered by the microcontroller interrupt. Mode 3 is a square wave generator mode, the count value N is even, symmetrical square wave output, the first N/2 periods, OUT output is high, then N/2 periods, OUT is low. In this experiment, the clock CLK signal from the ALE access, set the output frequency of Q0, Q1 for the ALE frequency, then: Calculate the initial value = Q1/Q0.