Hello!
It finally started working. I reinstalled MikroC and put a new oscillator and now its working nice. Thank you for your time and replies!
Search found 7 matches
- 22 May 2013 13:13
- Forum: mikroC PRO for AVR General
- Topic: UART1_Read_text problem
- Replies: 19
- Views: 8364
- 21 May 2013 16:56
- Forum: mikroC PRO for AVR General
- Topic: UART1_Read_text problem
- Replies: 19
- Views: 8364
Re: UART1_Read_text problem
I just bought a new ATMEGA32 (it has the same pinout as ATMEGA16), but the problem is still the same. Have you any suggestion how to fix that?
- 21 May 2013 14:36
- Forum: mikroC PRO for AVR General
- Topic: UART1_Read_text problem
- Replies: 19
- Views: 8364
Re: UART1_Read_text problem
I tried already, but it's the same. I will buy a new microcontroler today. Maybe it is faulty. I will let you know if it works in few hours. Thank you for your replies!
- 20 May 2013 21:07
- Forum: mikroC PRO for AVR General
- Topic: UART1_Read_text problem
- Replies: 19
- Views: 8364
Re: UART1_Read_text problem
I tried,but it's not working well. I disabled "send as typing" option. I tried to send "1234o", but the microcontroler only returns "12". No matter what I send,he returns only the first 2 bytes. It works well if I enable the "send as typing" option. I tried it using my regular serial port and an USB...
- 20 May 2013 01:44
- Forum: mikroC PRO for AVR General
- Topic: UART1_Read_text problem
- Replies: 19
- Views: 8364
Re: UART1_Read_text problem
I know how the function should work. i tried with and without "append new line". the problem is that the microcontrller won't recieve several characters if they are sent at the same time. for example: I type "abco" and click send and the microcontroler wont read anything. But if I enable send as typ...
- 17 May 2013 14:47
- Forum: mikroC PRO for AVR General
- Topic: UART1_Read_text problem
- Replies: 19
- Views: 8364
Re: UART1_Read_text problem
I tried with and without append new line. The problem is if I send several characters at once, the microcontroller won't read them.For example, I enable the send as typing, and type: "abco" the microcontroller will read "abc" which is fine. If I don't use "send as typing", I type: "abco" and click "...
- 17 May 2013 00:18
- Forum: mikroC PRO for AVR General
- Topic: UART1_Read_text problem
- Replies: 19
- Views: 8364
UART1_Read_text problem
Hello! I have a problem with the function UART1_Read_Text(start, "o", 5); in my code. I use this function to receive data from serial port. The problem is I have to send character by character in order that the function work. For example, I use the USART terminal from MikroC and i MUST enable the op...