Ok so I got the PICBasic pro compiler today and am having trouble with PORTA on the PIC18F1320.
I have 6 charlieplexed leds on Porta.0, Porta.6 and Porta.7 as seen here http://www.blueroomelectronics.com/d...structions.pdf
I cannot get a led to light on PORT6 or 7
Here is my code
ADCON1 = 127
input porta.7
led var porta.0
sink var porta.6
low sink
loop:
pause 5
toggle led
pause 5
toggle sink
goto loop
end
Bookmarks