The main idea of this sketch is receiving the address from a remote controller that uses HT6P20x encoder with "learning code" system, decoding into a microchiph's PIC16F877A using CCS compiler.