Sam,

Using a set of instructions like:
output GPIO.5
Led1 var GPIO.5
low Led1

as a setup, will allow you to set the output high or low at your liesure.

Cheers
Gary