I am sort of new using pic basic pro. I am learning it in school and i am working on a final project.
I am trying to take a variable and send it to several different parts simultaneously, i do not know if this is possible but my example is
would it work to:
Code:'Initialize Variables LED1 var byte led1.0=porta.1 led1.1=portb.3 led1.2=portd.1
And then later in my code just write LED1=1 to turn on all 3 ports and LED1=0 to turn them off. would this work
thanks,
Bookmarks