2022-06-27 10:09 PM
I have used output compare to send data at two pins simultaneously. the data is variable. however, I need only 8 clk pulses and on each rising and falling pulse edge data transfer to the output pin.
I am unable to stop pulses and data at only 8 edges or pulses. it remains continuous however if I used interrupt to count the counter and stop the output compare. still, pulses generated are more than 8 pulses.
i just need 8 pulses of both clk and output.