Hi > > I have programmed the PIC16F84A-04/P with the > programmed attached. Initially it worked briefly, upon > removing power and applying again, it doesn't work > since. > > I am working on a simple robot that uses two IR > emitter-detector pairs to avoid colliding with > obstacles in its path. > The inputs from the IR sensors are labelled SENSOR1 & > SENSOR2 for LHS & RHS, resp. that are at 5V if no > obstacle is detected. > However when an obstacle is detected, that sensor > input goes low, thus calling the required subroutine. > The outputs control two H-bridges that control the 2 > motors. > I have attached the circuit. > I have as well included my program, which I thought > would work. > Can you please help me check what's wrong, so that it > can get working. > > I used MPLAB version 7.5 and Quick assembled the > program, and burnt the HEX file using the PICSTART > Plus programmer. > > Can you help me please. > > Thank you. > > Hasitha ____________________________________________________________________________________ Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist