SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By harshcht
#195488
I was trying to use the sx1509 with esp-32. I make the connections according to I2C and then upload the analogWrite example. However, the innitialiation function
Code: Select all
io.begin
does not work (i.e the expander is not innitialised). I checked in the .cpp file of the library. The
Code: Select all
if (testRegisters == 0xFF00)
statement returns false.

Note: the board works perfectly with arduino MEGA.

Can anyone please help me solve the issue (or at least give a hint of what the problem could be).