I have built all the robots in Karl Williams books, "Hexatronics", "Amphibionics" and "Build Your Own Humanoid Robot". Most of the robots use a 16F84. I bought 16F628a's because I heard that they were now the replacement for the '84's. In his books, Karl has written step by step test procedures for all the robots. Basically, here's the code (in .bas) (I cut & paste it from his site into Microcode Studio) compile it (I'm using a PIC Basic Pro compiler) and program the chip (I'm using an MELABS Serial Programmer.) The first robot, Hexatronic, passed all the testing: The first (program) test was flash the LED's back and forth while making noises (piezo). OK, works. Second (program) test was centering the servos. OK, works Third test was walking. OK, works 4th, OK, works. 5th, OK, works. 6th, OK, works... 13th test OK, works. All the tests worked as they should. The next robot, Frogbotic, failed the first test: press the left limit switch and the left LED should go on. OK, works. Press the right limit switch and the right LED should go on. Doesn't work. I did some troubleshooting and could not find anything wrong with the circuit and board electrically. I decided to skip to the next robot, the Crocbot and ran into the exact same problem. Note: The Frog and the Croc both have identical boards. I contacted Karl and he responded with some info from Microchip about the 628 chips but that information did not mention anything about the compatability/direct replacement issue. with the 84's I have since read that there is a difference between where the program starts or initializes or something; i.e, 00HH instead of 00AA or oooo ?????? Also something about paging. As you can probably tell, I'm a beginner at all of this and need some hand holding. Does anyone know what I should add to my code to make the 628a's code compatabile with idential code from the 84's ? Thanks ! -- View this message in context: http://www.nabble.com/PIC16F84-to-PIC16F628A-t1373445.html#a3685813 Sent from the MicroControllers - PIC forum at Nabble.com. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist