Using 6 x MCP23017 Issue

Hi, @John40131

To add code please click this link;

But before you do that, press [ CTRL ] [ T ], it will auto format, that is provide detents in your code to make it easier to read.
It may have helped find that missing curly bracket.

Tom.. :smiley: :+1: :coffee: :australia: