Hi All,
I seem to be having a problem when I use the PAUSE command in my code (basically renders the program inoperable).
I've reverted to the blink.bas example code to try a figure out what's going on here. I'm using PIC16F84a controller,the PicBasic Pro Compiler and MELabs's serial programmer.
I am confident that the circuit is wired correctly. The controller seems to be functioning to some degree as I am able to set PORTB.0 and PORTB.1 HIGH and have the LEDS light as expected. However, when I introduce a PAUSE command into the code nothing happens.
I have used mutiple 16F84A's so it does not seem to be a hardware problem. I have substitued a 4Mhz crytal/capcitor with a 4 Mhz resonator (and have verified that both are working with a frquency counter). Voltage to all pins reads correctly.
I have also played with every setting on the programmer.
Funny thing is this circuit worked before.
I know I must be doing something wrong here ... but for the life of can't figure what. Any help or ideas would be greatly appreciated ....
Howard.
Bookmarks