Component: I2C Multiplexer (TCA9548A) (Comms: Interface)
From Flowcode Help
Jump to navigationJump to search
| Author | Matrix TSL | 
| Version | 1.0 | 
| Category | Comms: Interface | 
Contents
I2C Multiplexer (TCA9548A) component
Allows up to eight I2C busses to be multiplexed from a single I2C bus allowing for multiple devices with the same I2C address to be accessed. Up to 8 devices can be used together allowing for a total of 64 of the same devices to be accessed from a single I2C bus.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
ChangeAddress
|   | ChangeAddress | 
| Allows the component to communicate with multiple TCA9548A devices by switching the address. | |
|  - BYTE | Address | 
| Range: 0-7 | |
|  - VOID | Return | 
DisableAll
|   | DisableAll | 
| Disables all 8 channels on the current TCA9548A device. | |
|  - VOID | Return | 
DisableChannel
|   | DisableChannel | 
| Disables a specific channel on the current TCA9548A device. | |
|  - BYTE | Channel | 
|  - VOID | Return | 
EnableAll
|   | EnableAll | 
| Enables all 8 channels on the current TCA9548A device. | |
|  - VOID | Return | 
EnableChannel
|   | EnableChannel | 
| Enables a specific channel on the current TCA9548A device. | |
|  - BYTE | Channel | 
| Range: 0-7 | |
|  - VOID | Return | 
ExclusiveChannel
|   | ExclusiveChannel | 
| Enables the selected channel and disables all others on the current TCA9548A device. | |
|  - BYTE | Channel | 
| Range: 0-7 | |
|  - VOID | Return | 
Initialise
|   | Initialise | 
| Starts up the I2C bus and closes all channels. | |
|  - VOID | Return | 
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_TCA9548A_I2C_Multiplexer.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_TCA9548A_I2C_Multiplexer.fcfx






