Assembler PIC16F88 - LED, Button

Thread Starter

PERH

Joined Jan 27, 2011
1
Hey I am new to this completely and i am having some difficulty in getting my code to work and cant seem to understand where i have gone wrong.

This is my code and is simply just using a switch to turn on an LED plus a reset button and LED to turn it off, my led is connected to line Ra3 my button is connected to Rb3, Rb4 goes to the rest button and Rb5 goes to the Reset LED


start call settest
call buttontest
goto start
end



Any help and advise would be much appreciative.
Many thanks
Perh
 
Last edited:

debjit625

Joined Apr 17, 2010
790
Thats not the code its just a call to assembly sub routine ,post the code for the sub routine "buttontest" then we may help.......

Good luck and welcome to AAC
 
Top