I want to send data on a custom serial bus. I have a clock on a pin, and data on another. I need the data sent on each clock tick.
I use an OutputCompare to generate the clock.
Is there a way to synchronize the data OutputCompare (or something else) with the clock tick?