Closed RobTillaart closed 2 years ago
The mcp23S17 is one from a family:
They can be controlled by the mcp23S17 class but the 8 bit ones do not need the 16 pins interface recently added. So 23s08 can't be derived from 23s17 but the other way around means implementing all 23s17 code anyway
so a specific 23S08 class might be better.
idem for I2C variant.
Created 4 separate classes, maybe merge in a (far) future
The mcp23S17 is one from a family:
They can be controlled by the mcp23S17 class but the 8 bit ones do not need the 16 pins interface recently added. So 23s08 can't be derived from 23s17 but the other way around means implementing all 23s17 code anyway
so a specific 23S08 class might be better.
idem for I2C variant.