Yes, You can always set the drive modes and initial value in the pin settings. The firware register settings allow you to set and change at run time.
Thank You. It works.
You can alwyas use the LED module as a simple way of controlling LED.
Has advantage that if mixed I/O in port it instantiates shadow registers
to avoid R modify W problems.