Hello again! I have figured out the problem with the inverting of the bytes which I had before. It was one of those cases where the answer is starring you in the face but you are too tired to see it. Now I think I got myself into somthing too deep. Here is what I need to do:
Send data serially at 9600bps with odd parity.
Using a pic 16F84A
Data must be sent on portb.7
Oscillator is fixed at 3.579mhz
Now using debug i am able to send data perfectly and recieve at 9600 baud using 3.579mhz. however the problem comes in when I have to use parity. Is there any way to set parity using debug? I looked throught the manual and found all the other DEFINE's for debug, but there isn't one for parity.
Update:
I have tried serout and serout2, both do not function proporly on my pic at 9600baud. Is there a way to speed them up by defining static port and baude?
I'm thinking of maybe of an assembly routine to transmit the data.... I would just like some ideas to overcome this, not actual code.
Bookmarks