Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Ht16k33 I2C_ADDRESS #95

Closed
IeiuniumLux opened this issue Mar 31, 2018 · 3 comments
Closed

Change Ht16k33 I2C_ADDRESS #95

IeiuniumLux opened this issue Mar 31, 2018 · 3 comments

Comments

@IeiuniumLux
Copy link

Ht16k33 is currently setting the I2C_ADDRESS to 0x70; which causes a conflict when you stack the RainbowHat and the Adafruit Motor Hat together because the latter responds to address 0x70 - regardless of the address jumper settings or the value in the motor library/driver.

As a result, AlphanumericDisplay and MotorHat are clashing with each other. Therefore, please change the I2C_ADDRESS in Ht16k33 class to some other value than 0x70.

@jdkoren
Copy link
Member

jdkoren commented Apr 2, 2018

Thanks for reporting this @IeiuniumLux

It seems it is possible to change the I2C address of your ht16k33. However, we don't want to require this of every person who uses one, so I think the right approach is to keep 0x70 as the default address and provide an alternate constructor that accepts a different address (similar to the MotorHat driver), so you can change the address of your ht16k33 and continue to use it.

We have made this change internally and will close this issue when we've released another version of this driver.

@mangini
Copy link
Contributor

mangini commented Apr 16, 2018

@IeiuniumLux we've published the optional address change. It's in the version 0.6 of the ht16k33 driver.

@mangini mangini closed this as completed Apr 16, 2018
@IeiuniumLux
Copy link
Author

Excellent. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants