SX1509 I/O Expander - Daisy Chain - how to address a pin ? IDE

Greetings,

I have daisy chained 4x SX1509 0x3E,0x3F,0x70,0x71.

I have been unable to understand or find any information on how I can select a i/o pin to a specific expander.

All the examples I found seem to deal with just 1 sx1509 expander

Lets say I wanted to use pin 8 on 0x71.

Does anyone know of example code or good resources for addressing pins using multiple expanders?

Thanks

You should be able to find Arduino Examples that will help you figure out code nessecary for your specific application from the GitHub repo: https://github.com/sparkfun/SparkFun_SX … no_Library

The examples given are trivial with respect to total IO. There are no examples of using multiple SX1509’s, or using SX1509 IO AND Arduino IO.

Does anyone have examples or an explanation of how to identify IO on multiple SX1509s, or differentiate between Arduino IO & SX1509 IO?

Unfortunately there isn’t any example code for multiple SX1509’s but it shouldn’t be too difficult to add in a few config lines to the existing examples to address a second board at another address. I/O on your Arduino’s pins would be exactly the same as you’ve always done.