Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.

Make device address an optional parameter#2

Open
ademcaliskan wants to merge 1 commit intojuddflamm:masterfrom
ademcaliskan:master
Open

Make device address an optional parameter#2
ademcaliskan wants to merge 1 commit intojuddflamm:masterfrom
ademcaliskan:master

Conversation

@ademcaliskan
Copy link

First of all thanks for the great work!

Some parts of the oled.js file need an update, if you want to use the module with new revs of the pi.

Rev.2 uses a different address -> dev/i2c-1

So I intend to make the device address as an optional paameter with /dev/i2c-0 as default, to preserve backward compatibility.

Thanks.

it as opts parameter during constuction.
@roboflank
Copy link

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants