ShrimpingIt / micropython-mcp230xx

Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
GNU Affero General Public License v3.0
30 stars 16 forks source link

readList() now returns a bytearray #3

Closed nelsonroliveira closed 3 years ago

nelsonroliveira commented 6 years ago

output_pins() expects self.gpio to be a bytearray but read_gpio() was changing it's type by using the return of readList() directly

Fixes issue #2