Thanks a lot Darrel for the very simple solution to my problem: that is great !
I have also seen that the INPUT command puts the pin to a three state condition: it is very good.
Regards,
Ambrogio
IW2FVO
North Italy