Hello Steve,
Steve>>BUT i'll prefer to use PIN NAME instead of pin number... more easy to read.
ex:
HIGH PORTB.0
<<
I agree Steve... Makes a heck of a lot easier to debug too. You are not constantly referring back to a previously assigned Pin Value.
I do the same with the header variables too. I realize that using certain functions will automatically assign a pin to a input or output, but I use (by habit) the Header assignments for safety sake <g>.
Dwayne
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Bookmarks