Its always worked for me , on 12F675, 16F628, 16F88 and 16F886.
However its not the best way to go if the Pic has a hardware usart, as it causes the PIC to hang
when the PIC is sending and receiving data.
It wont work if any interrupts are used , as the bit times have to calculated and
interrupts will cause this calculation to be wrong.
As most PICs have hardware usarts, there is very little reason to use the SW usart code.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I got it to work on the 12F683. I had it recieving from pc and then sending to another 12f683, recieving back and sending back to pc. If I can find the code I will post it. Was just experimenting to see if I could do it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could someone please clarify the situation with the software serial RS232 communication. There seems to be quite unclear how and if it works.
Its always worked for me , on 12F675, 16F628, 16F88 and 16F886.
However its not the best way to go if the Pic has a hardware usart, as it causes the PIC to hang
when the PIC is sending and receiving data.
It wont work if any interrupts are used , as the bit times have to calculated and
interrupts will cause this calculation to be wrong.
As most PICs have hardware usarts, there is very little reason to use the SW usart code.
I got it to work on the 12F683. I had it recieving from pc and then sending to another 12f683, recieving back and sending back to pc. If I can find the code I will post it. Was just experimenting to see if I could do it.