HelloWorld program for PCA9547: an I2C bus multiplexer control library. PCA9547 is an I2C multiplexer which enables to select 1:8 multiplexed I2C bus. The multiplexer is useful for deviding I2C bus to avoiding slave address conflict and separating capacitive loads. For more information about PCA9547: http://www.nxp.com/documents/data_sheet/PCA9547.pdf
What is this?
This is a sample code to demonstrate the PCA9547. The PCA9547 is a 8 channel multiplexer for I2C bus.
The code shows how the bed can access the I2C device (LM75B) through PCA9547.
Demo hardware block diagram
Connection between mbed and PCA9547
For more information, please visit component page.
Revisions of main.cpp
|5:c6450501913e||2015-02-23||Sample code update: instance declaration as global||File Diff Annotate|
|3:e8697f8b6da5||2014-07-01||correction: typo in comment||File Diff Annotate|
|2:63d9012f8c01||2014-07-01||disable function test||File Diff Annotate|
|1:63d8f8d68f61||2014-07-01||test program for first library||File Diff Annotate|
|0:fb906b7b1452||2014-06-30||very first test code||File Diff Annotate|