Hello all, sorry if my question looks kind of stupid, but please help me if you can.
I started learning avr c on spare time and I fo not inderstand how do I implement comunication with other periferals. Like LCD. I do have datasheet and know how to send bits, but how to send them on avr c
For exaple I pull pin high.
PORTB |= (1 << PB5)
Then pull it low
PORTB &= ~(1 << PB5)
What if I need to send 8 bits of data?
Should I use for loop?
Wht about timing of signals? What if period has to be exact something like 15ms?