Search found 3 matches
- 14 Oct 2010 17:19
- Forum: mikroC General
- Topic: Problem with Reading data through serial communication
- Replies: 3
- Views: 1827
Re: Problem with Reading data through serial communication
Try this... void interrupt(){ char i = 0; if (PIR1.RCIF) { while (Usart_Data_Ready()){ //CHANGE THIS LINE Rx_buff[i] = Usart_Read(); i++; } New_Flag = 1; } } Hi Sobrietytest I changed the code but only manage to get the first byte data. The LCD display i use to check the receive data also doesn't s...
- 08 Oct 2010 01:34
- Forum: mikroC General
- Topic: Problem with Reading data through serial communication
- Replies: 3
- Views: 1827
Re: Problem with Reading data through serial communication
Is there anyone able to help explain what is wrong with the code?
- 06 Oct 2010 15:08
- Forum: mikroC General
- Topic: Problem with Reading data through serial communication
- Replies: 3
- Views: 1827
Problem with Reading data through serial communication
Hi, I'm having problem reading data received through rs232 using serial communication . I am able to read the first byte sent to the PIC which will be use control the forward/backward of a vehicle. but the second byte which will be be use to control the Left/right of the vehicle not working. I'm hop...