Re: sending numbers over Rs232
Posted: Sat Jul 12, 2014 2:47 pm
Hi Martin
Sorry for being away for so long but had a bad case of chemotherapy but all is well now so i'm
again (till the next bad one) any ways I got all the code working just like I wanted it to and i must say that I'm quite pleased with it, however I have come up against an obstacle and I have to say that I don't have a clue how to get around it. In order for things to work the to pic's need to run at the same frequency but what I did when I started to write the code was to leave the second pic on the internal oscillator of 4Mhz as I did not have an 8Mhz crystal for the first pic I used a 4mhz instead, problem now is that I would like to have them both running on a 20Mhz crystal as I need more speed for the sampling. If I try to place an interrupt in the RX code it starts to do everything that it should not be doing. I have attached both the files that are working but only with the 4Mhz configuration, would you mind having a look at it? as I said the problem file is the RX the TX has a crystal in it.
All the very best
Xavier
Sorry for being away for so long but had a bad case of chemotherapy but all is well now so i'm

All the very best
Xavier