Hey Mike (pommie)...
Why are you being like that...
Your original code was just wrong. I tried to point you in the right direction, you ignored it. Ask your lecturers for the answer. I'm done.
I didn't ignore you... I took your advise and could not get the code to work, so I came back for help... as I just do not know what went wrong...
Only you did say...
Give it a go and if you're still having problems post back.
So i'm not sure how I managed to upset you... but as I obviously did I must therefore sincerely appologise to you...
Only I was rushed for time this morning as I was trying to test the code before heading out to work...
Only shortly after posting the last message to you the whole unit died on me and I was unable to get the serial comms back up and running...
I wrote a quick programme to test to processor and I managed to turn an output on and off every 840uS, however I could not get any code to run that used the serial comms, even though the code had already been used and worked perfectly... it was as if that side of things was dead... I tried using a 9-way feed back connector to test the serial comms to the computer and was able to echo back everything I sent using hyperterminal so I know that side of things appears Ok...
But I could see on the scope that when I pressed a key on the keyboard the PIC recieved it and appeard to be transmitting out... but hyperterminal was not apparently seeing it as if the internal clock was no longer running at 8MHz... only the previous chip went funny on me and started running at 9.6MHz and I was unable to get it to stabalise at 8MHz...
Only I'm not an Electronics Student... I am a Forensic Science Student... who is trying to design a data logger to assist with a third year project... to see if the degredation of cartilage can be used to determine the post mortem interval of buried remains...
I understand that I can purchase single channel devices to do the same job, but I need to record three channels at the same time... only the university is financially bankrupt and does not have the funds to assist me with the project, I only have a £25.00 budget to purchase porcine hind trotters...
Time is rapidly running out for me... hence the reason I am so stressed... I only have till the end of July to get a prototype up and running, leaving me two weeks to test the code and tweak it as required... otherwise my third year project is in jeperdy...
Mike (Pommie) can you please spend a little bit more of your valuable time assisting me as I am so confused with the code that I just do not know what to do in order to get it to work...
What information do you require from me, that will enable you to assist me further...