Hi,
I'm a bit struck at present as I am trying to make my data transfer over a clock cycle. I'm new to C in terms of using it on microcontrollers. my task is like -
__ __ __ __ __ __| |__| |__| |__| |__| |____ - clock ____ ____ ____ __| |___| |___| |_______- data
I am using a AT89C51ED2, I don't understand how to use the timers, and to achieve my goal I dont get whether I need to watch the overflow of both TH0 and TH1.
Can anyone show me an example because im very confused by this...
I don't really understand the setup of them and the values that are placed into the things like TMOD, SCON, TH1, TL1...
Thank you for your response
David