SX1509 breakout with esp-32

Have questions about a SparkFun product or board? This is the place to be.

Moderators: phalanx, TS-Tim

Post Reply
harshcht
Posts: 1
Joined: Fri Jul 07, 2017 3:50 am

SX1509 breakout with esp-32

Post by harshcht » Fri Jul 07, 2017 4:07 am

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).

Post Reply