can we transmit a character every one second and at the same time recieve a character continuosly? If i use a delay than that delay will also be applied for recieving character, so I am having problem in this, any suggestions
can we transmit a character every one second
Yes.
and at the same time recieve a character continuosly?
No. Serial data does not arrive continuously. There are distinct, measurable, intervals between each character arriving.
If i use a delay than that delay will also be applied for recieving character
So, do not use delay.
any suggestions
Obviously, you have not looked at the blink without delay example. The philosophy applies to more than blinking LEDs.
With leds It can be done, i dnt have problem in that.
But In this I m confused, I was given this task:
1.Transmit character ‘A’ every 1 second using USART/UART.
2. Receive character from UART/USART(same USART/UART used in 1)
any help is highly appreciated
With leds It can be done, i dnt have problem in that.
If you can determine that it is time to toggle the state of an LED, why can't you determine that it is time to send a letter? It is EXACTLY the same process!