activating i/o ports according to variable value
Hi all, I am trying to work out a way to generate a variable using a for .. to .. next loop and then send the i/o port (let's say b for arguments sake) corresponding to the numeric variable value high .. eg (for x=0 to 4: high portb.x: next x). Now this doesn't work one little bit but I was wondering if there was a way to do it ( different code ) same outcome....
Cheers
:)
Thanks..but still no go :)
Thanks JEC .. gave it a whirl but got a comiling error... :(