
Originally Posted by
GatorGuy
I would like to make one variable an alias for more then one pin. So far I have not been able to make it work. Here is an example of what I have tried. There are more but this gives the idea. What am I doing wrong, or is it possible? Array?
Code:
s1 var porta.1 & porta.2
if you wnna drive pins EX: portb output and input this will helps u
Code:
S_1 VAR PORTB
S_1 = %00000001
S_1 = %XXXXXXXX
' so on ... do what you want
hope this will helps you
Bookmarks