Dear reader, I looked at several sources for a simple routine(All signal processing done in a 16f628a): 1. Receive a button-press-caused infrared-signal from a remote control with a TSOP1740(IR receiver module) 2. Identify the button being pressed. Then return a number representing the button being pressed. I want to go into detail about my experiences: There are all kinds of code-examples, everytime combined with varieties of hardware. No simple routine to call and get the values needed. Not at all. It seems to me as if the creators of theses codes have never ever reached adulthood. And this is meant in a negative way. All comments I have read in the code are totally useless as they describe what everyone has already noticed. For example(in picbasic): "PORTA = PORTA >> 1 & %00001111 'PORTA moving 1 to the right whereas bit 4 to 7 are hidden." Totally useless. I am asking WHY this is done exactly there to get a clue what to delete or expand and not what it does. On and on combined with displays and their driving, fancy joysticks(which, of course, need their own driving, and this is included in the code somewhere aswell, without any explaining what is done there). What I want is the routine mentioned. And a _good_ documentation, if there are any modifications necessary. A documentation which does not require the user to rewrite the code just because the writer thought of himself as a teacher who thought of himself to be selected to teach everyone. I don't want to learn anything because someone decides he is in need to teach without asking for permission (!) (because noone ever would ask exactly those people for a lesson). Look at references for python for example. Plain and clear routines, only necessary values to be passed and a useful result. THIS is why it is popular. No playground. And I say this with conviction even though I am creating a hobbiist project. Thilo Klein -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist