raiola75 - 2020-04-12

Sorry for my bad english.
I try MCP23017 and I use library 1.1.0.0 download from previous forum..
My code is under:

MCP23017.IO_A := 16#FF; //Input
MCP23017.IO_B := 16#00; //Output
Button_1 := MCP23017.IN_A.0;
Button_2 := MCP23017.IN_A.1;
Button_3 := MCP23017.IN_A.2;
Button_4 := MCP23017.IN_A.3;
Button_5 := MCP23017.IN_A.4;
Button_6 := MCP23017.IN_A.5;
Button_7 := MCP23017.IN_A.6;
Button_8 := MCP23017.IN_A.7;

MCP23017.OUT_B := MCP23017.IN_A;

If i run this code the input its ok but the output dont.
Debug showing correct, but the led is down.
I tested with code wiringPy (phython) MCP, so i'm sure the functionality and circuit.
Why?