@chirimen/tca9548a
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

@chirimen/tca9548a

Driver for TCA9548A with WebI2C

API

TCA9548A

TCA9548A(bus: I2CPort, address: TCA9548AAddress): object

Defined in packages/tca9548a/src/index.ts:34

Parameters:

Name Type Default
bus I2CPort -
address TCA9548AAddress 112

Returns: object

Const TCA9548AChannels

TCA9548AChannels: ReadonlyArray‹TCA9548AChannel = [ 0, 1, 2, 3, 4, 5, 6, 7 ]

Defined in packages/tca9548a/src/index.ts:17

TCA9548AAddress

Ƭ TCA9548AAddress: 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119

Defined in packages/tca9548a/src/index.ts:4

I2C bus slave address (default 0x70; when A0-A2 pins are high(1)/low(0) 0x70+4*A2+2*A1+A0 )

TCA9548AChannel

Ƭ TCA9548AChannel: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7

Defined in packages/tca9548a/src/index.ts:15

8 switch channels for I2C data flow

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @chirimen/tca9548a

Weekly Downloads

13

Version

1.0.6

License

MIT

Unpacked Size

8.29 kB

Total Files

6

Last publish

Collaborators

  • kou029w
  • krunaru
  • sizuhiko
  • akihiko.kigure
  • saxallan
  • satakagi
  • dynamis
  • rasp753