Great, thanks for your help.
sets the data bits in val_GPIO to the output pins
How could I do that ?
Thanks again