soft_learn
Newbie level 5
- Joined
- May 22, 2014
- Messages
- 10
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 69
Hi,
I m trying to interface a software UART in which while receiving characters single's are received very well but when i try to receive a string it shows up out somne characters while receiving are overflowed bt being a new to this i m not getting where my problem is..???
My code for MikroC 6.0.1 is
if any body knows about the reception in software plz help me out.
I m trying to interface a software UART in which while receiving characters single's are received very well but when i try to receive a string it shows up out somne characters while receiving are overflowed bt being a new to this i m not getting where my problem is..???
My code for MikroC 6.0.1 is
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 char error, byte_read; void main() { Soft_UART_Init(&PORTC,5,4,19200,0); // RX Pin => PORTC.F5 TX Pin => PORTC.F4 while(1) { byte_read = Soft_UART_Read (&error); // Read byte, then test error flag Soft_UART_Write(byte_read); } }
if any body knows about the reception in software plz help me out.
Last edited by a moderator: