Thank you all for you reply. How is Rochdale? I have not been there since 1974 when I worked at the Odeon.
This is the link to the EPE download for the Hex file. It is in Home > library > project codes > 2002 > April. **broken link removed**.
I did discover that John used his own code when I fist tried it as it just would not compile and I then noticed all the odd $ every where.. I then found an asm file which said it was a mod for MPLAB. This will compile but, I get this in the compile log :-
gpasm -c -I/home/spr/Pic Alarm/ -pp16f877a -w0 New Alarm.asm
New Alarm.asm:3: warning: Processor superseded by command line.
New Alarm.asm:17: error: Value of symbol "OPTION_REG" differs on second pass
pass 1=129, pass 2=1
New Alarm.asm:41: error: Value of symbol "EECON2" differs on second pass
pass 1=397, pass 2=13
*** Exited with status: 1 ***
I have been looking for the link to the site I downloaded it from but can not find it and I am not sure if I can attach or paste it to a reply here. Here is the schematic
View attachment 67425
I am certain that the pic is programmed as I can read it back from the pic. As I said in the first post I compared the 2 and there was no difference.
I have programmed the same pic in my programmer with other programs and they all work fine.
I am learning to program and am doing ok. The midi program I have used for my organ was written to scan 127 keys, I only needed 61 so I set about changing that. It took me two days as I have to stop every so often because of my pains but I did it and that is what lead on to this.