5 years, 11 months ago.

Example code in C for PCA9547 8 channel I2C bus multiplexer

Can i get the PCA9547 inherited function definition of

PCA9547::PCA9547( PinName sda, PinName scl, char i2c_address ) : i2c_p( new I2C( sda, scl ) ), i2c( *i2c_p ), i2c_addr( i2c_address )

1 Answer

5 years, 11 months ago.

Hi there,

The code for the PCA9547 library is available here: https://os.mbed.com/users/okano/code/PCA9547/file/c716fb3ccb8d/PCA9547.cpp/

Example code for using this library is available here: https://os.mbed.com/users/okano/code/pca9547_Hello/file/c6450501913e/main.cpp/

Please let me know if you have any questions!

- Jenny, team Mbed

If this solved your question, please make sure to click the "Thanks" link below!