PCF8574 pin name duplication

24 views
Skip to first unread message

Richard Sewell

unread,
Dec 19, 2014, 10:08:15 AM12/19/14
to libbu...@googlegroups.com
I've just stumbled over what looks like a little copy-and-paste bug - in

https://github.com/Datenheld/Bulldog/blob/Version-0.1.0/bulldog.devices/src/main/java/org/bulldog/devices/portexpander/PCF8574.java

there are three pins with the same name:
public static final String P5 = "P5";
public static final String P6 = "P5";
public static final String P7 = "P5";

Thanks for an awesome library, by the way!

Richard



Datenheld

unread,
Dec 19, 2014, 10:35:18 AM12/19/14
to libbu...@googlegroups.com
Hi Richard,

thanks, you're right. I have corrected it.

Kind regards,
Datenheld aka Bulldog
Reply all
Reply to author
Forward
0 new messages