Hello aherrera,
Ok suppose you are using PortB as follows
'PortB.0 = switch 1
'PortB.1 = switch 2
'PortB.2 = switch 3
'PortB.3 = switch 4
'PortB.4 = switch 5
and you are doing If PortB.0 = 1 then . . .
the port has a binary value when you push a switch, port B.0 = 1, portB.1 = 2, both = 3
so you could use a select case statement or a lookup table to direct your code flow.
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