Closed gerryr1gerryr1 closed 3 years ago
Sorry Forget to mention
Library is PCF8575 Library by Renzo Mischianti Ver 1.0.1
Hi @gerryr1gerryr1. This issue tracker is only to be used to report bugs or feature requests for official projects of the Arduino organization. This library is written and maintained by a 3rd party member of the Arduino community, not by the Arduino organization so your report is off topic here.
First post. Hope this is the right place.
Using Arduino Mega 2560 had problems getting this Library to work.
Using the PCF8575 Module ( which has no output pins 8 or 9),the outputs were
OK on Pins 0 to 7 but the pins 10 to 17 were out by two places.
eg. sketch code p8 activated Pin 10. Sketch code p9 activated Pin 11 etc etc.
With the help of the Arduinp forum the problem appears to be in the .h file.
Changed the
#define
lines in the .h file to;Changing the code to the above fixed the problem.
Thanks to Arduino Forum's PaulRB for the fix (https://forum.arduino.cc/index.php?topic=732201)