m5stack / M5Stack

M5Stack Arduino Library
MIT License
1.19k stars 424 forks source link

PbHUB: add constructor with I2C addr #254

Closed felmue closed 2 years ago

felmue commented 3 years ago

This allows to connect multiple PbHUB to the same I2C bus. Backwards compatible with existing code using only one PbHUB.

Tinyu-Zhao commented 2 years ago

Thank you for your contribution