First thing, yes I did search the forum on this question although I was certain I already was correct in my thoughts about ra.4 on my 16F628A. Melanie makes it quite clear especially with this post:
http://www.picbasic.co.uk/forum/showthread.php?t=1642
BUT!!!, Using and led with a resistor on my anode going to 3.3V and my cathode to ra.4, does not work, change processors and programmed with my replacement of the pickit3, my new favorite, the pickit2. I think I even made it as simple as possible with this code:
DEFINE OSC 4
CMCON = %00100101
VRCON = %11101100
PAUSEus 10
TRISA = %00000110
TRISB = %11110001
PORTA = %00000000
PORTB = %00000000
OPTION_REG.7 = 0
OPTION_REG.6 = 0
rf var porta.4
main:
low rf
pause 500
high rf
pause 500
goto main
And it still doesn't work. But I did move the cathode to ground and yes the led lit, so the led does work.
Anyhow, this may have sounded like a stupid question but If I don't ask, I'll never learn anything
Thanks again especially for all the knowledge I have gained here on this forum.
Bookmarks