ARCHIVED FORUM -- March 2012 to February 2022READ ONLY FORUM
This is the second Archived Forum which was active between 1st March 2012 and 23rd February 2022
I have gotten an arduino to process the IR signals from a B&O eye, but I would also like to be able to process the Timer / Vol-up / Vol-dn / Play buttons and LEDs on the puck. In looking at the diagram for the service manual, it seems the buttons are connected to a Philips PCF8574 I/O to i2c expander. The address seems to be 0x20 << 1 bit for read/write, which matches the data sheet, and i2c scanner recipe. However I am unable to read/write from the controller.
I tried rolling my own comms, and using the library from https://create.arduino.cc/projecthub/tarantula3/pcf8574-gpio-extender-with-arduino-and-nodemcu-a8cb00 without any joy.
Has anybody made this work? If so do you have code/tips you could share?
Thanks, Sam
Update: I have found with a simpler library that I can read the buttons, it’s only when I try to configure the I/O on a per pin basis, needed for setting the pins for the LEDs to be outputs that it hangs.