How to make a Momentary switch have multiple functions

If anyone can put a .hex
Grateful for your response in advance!
Download MPASM and you can do it yourself.

'635 and '200 v2 HEX files attached. They were assembled using the default radix.
 

Attachments

I understand the little pic.
I tried it with MPLAB IDE v8.88 but we failed to do .hex .
Many thanks a lot for the .hex .

Do I Fuse bit set?

 
You would want MCLRE, WDT and CP all off
 
.asm V2 to write the 10f200 :

"'__CONFIG _MCLRE_OFF & _CP_OFF & _WDT_OFF"

I wonder if I'm set up right.
This is picture 1

.asm V2 to write the 12F635 :

"__config _FCMEN_OFF&_IESO_OFF&_MCLRE_OFF&_WDT_OFF&_INTRC_OSC_NOCLKOUT"

I wonder if I'm set up right.
This is picture 2

Grateful for your response in advance!
 
Hello fellow electronics, would it be possible to modify Mike's code to add an acc relay? if you press one time acc comes on if you press second time acc/on is turned on.
I would be very thankful if someone could help me out
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…