Have you declared the variable A0? (A0 var byte)
Have you defined the oscillator value? (DEFINE OSC 8)
Have you declared to which pin the name "Led" belongs? (Led var PortX.x)
Have you declared the pin to be an output? (Tris)
Have you declared to which pin the name "button1" belongs? (button1 var PortX.y)
Have you declared the pin to be an input? (Tris)
Al.
Bookmarks