Yeah, PBP does have a generator but, he has an 8870 decoder drawn connected to the PIC to activate the door. I think he is asking how to do it in software?