Not sure which version of PBP you are using... but "Loop" is a reserved word that should NOT be used as a variable name or program label.
You should change that to something else like "MainLoop", etc.
Not sure which version of PBP you are using... but "Loop" is a reserved word that should NOT be used as a variable name or program label.
You should change that to something else like "MainLoop", etc.
Dwight
These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.
I use PBP 2.50C and both program sample compiled without problems. "loop variables" by first program working very good. I was trying with "loop1" and was no changed.
Seems like you forgot to set TRIS registers in the second code unless I am snowblind.
Ver 2.6 makes LOOP a reserved word.
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