Define analog pin as output

Thanks Rob,
You re right, this is working!
BR, Dries :slight_smile: