Thanks for your reply.
I tried your suggestions, but no dice.
I am not seeing any logic levels on any of the outputs (they are all tri-stated). I have tried a different chip and the second one does the same.
Any other ideas?
Thanks for your reply.
I tried your suggestions, but no dice.
I am not seeing any logic levels on any of the outputs (they are all tri-stated). I have tried a different chip and the second one does the same.
Any other ideas?
JackPollack,
The following worked great on my 16F88:
;@ DEVICE INTRC_OSC_NOCLKOUT, MCLR_OFF, PROTECT_OFF, WDT_OFF
OSCCON = $60
LOW PORTB.1
LOOP:
Toggle PORTB.1
Pause 1000
GoTo LOOP
Notice that I commented out your fuse settings. I suggest picking them in the EPIC menu until you can get it running. My best guess is that INTRC_OSC_NOCLOCKOUT is not a correct setting but I could not verify. (I use MPASM exclusively and had the fuses set as shown in the attached.) As a check, I had pin 5 tied direct to ground, pin 14 tied direct to 5V, and had an LED between pin 7 and ground. Again, Good Luck
Oh, also see: http://www.picbasic.co.uk/forum/show...ighlight=16f88
Paul Borgmeier
Salt Lake City, Utah
USA
Thanks to all that posted. I found the problem was a bad PIC programmer.
Everything is working great now.
Thanks again.
it turns out "INTRC_OSC_NOCLKOUT" is correct (see m16f88.inc in your pbp folder). The code I posted in this thread worked for me - 1 second delays were one second. I did not use the @ device line (hence, it is commented out) but picked them from the menu in MPLAB (I do not use PM).
I am not sure what problems you are having or what you are asking here?
Paul Borgmeier
Salt Lake City, UT
USA
__________________
Bookmarks