oled-js-pi icon indicating copy to clipboard operation
oled-js-pi copied to clipboard

Make device address an optional parameter

Open ademcaliskan opened this issue 10 years ago • 1 comments

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.

ademcaliskan avatar Jun 30 '15 12:06 ademcaliskan

:+1:

roboflank avatar Nov 04 '16 12:11 roboflank