WereCatf / PCF8574_ESP

PCF8574 - library for ESP8266
MIT License
55 stars 25 forks source link

read16 function do not work with PCF8575 #8

Closed kostuch closed 7 years ago

kostuch commented 7 years ago

To make it work, change line if(_Wire->requestFrom(_address, (uint8_t) 2) != 1) to if(_Wire->requestFrom(_address, (uint8_t) 2) != 2)

WereCatf commented 7 years ago

Done, spanks for noticing!