Receiving data from the UART (by Gigi)
Hi
I'm making a project with PIC16F886 where i need to measure a value by a strain gauge and send the data to a control unit.
The control unit send an address to the PIC with a string of data with other information that should be loaded into memory.
When the address is recognized the PIC reply and sends the data.
The problem is that the UART RECEIVE instruction should have an output that goes to 1 when the data has been received and remain at 1 for one cycle of PLC, instead the output remains always at 0 and there is no way to know when a character is received.
I also tried with the UART RECV: IS AVAIL? but the output remains at 0.
There are bugs on these instructions?