Alain

You were right as always. I hadn't the board configured properly.

I totally forgot about the row of jumpers to set the pins pull-up or pull-down, I had it set wrong.

Thank you