Re: Help with Hellebuyck reverse flashing led

Originally Posted by
firsttimer
This is what is in his book but it will not programme
symbol led = b0
pins = %00000000
dirs = %11111111
main:
for led = 0 to 7
high led
pause 1000
low led
pause 1000
low led
next
then the same only reversed
goto main
end
also
I have seached two books but I cant find what dirs means
Go check out Parralax basic stamp for dirs, they use it, ME Labs PBP does not.
Use instead TRIS and flip all the bits from what dirs says.
edit:
Ok looking at Chuck's book it appears that PBC does indeed use dirs, I have never used PBC and I do not believe it is still available, but might be wrong in that belief. If you and I have the same book then this is Project 1 and the chip is a 16F876.
Go to the next page and use the P Basic Pro code listed, it should work.
Last edited by Archangel; - 31st January 2014 at 19:08.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks