Beginer Beginer

hpm

New Member
Hi All,
After several years and 2 babies, dormant in this field after using pic's I find the picaxe.
So, I purchased one last week with a bread board and did the led thing to find that my led's blink twice on port 1 and 2 instead of once. Port 0 and 4 are ok. First I thought it was an error with my USB converter but tried another download with a true com port with no effect. I dont want to insult you with the program but here goes:
main:
high 4
pause 1000
low 4
pause 1000
high 2
pause 1000
low 2
pause 1000
high 1
pause 1000
low 1
pause 1000
high 0
pause 1000
low 0
pause 1000
goto main

Whats going on?
My understanding so far is that we dont have to set up ports first, with commands like "High" should it not set that port as an output ?.
In any other respect the chip seems to be ok.
If I address port 1 & 2 as individual, they behave the same way. But not on port 0 & 4
Any help to understand will be most gratefull, or is my chip a dud?
 

hippy

Ex-Staff (retired)
my led's blink twice on port 1 and 2 instead of once ... is my chip a dud?
It's highly unlikely the chip is a dud. I tested your code and it works as expected for me. It sounds like there may be a mis-wiring on your breadboard or some other circuit issue.
 
Top