Skip to content

feature: add support for SH1106#33

Open
hadifikri wants to merge 1 commit into
HendrikRoth:masterfrom
hadifikri:master
Open

feature: add support for SH1106#33
hadifikri wants to merge 1 commit into
HendrikRoth:masterfrom
hadifikri:master

Conversation

@hadifikri
Copy link
Copy Markdown

  • use "oled-rpi-i2c-bus": "^1.1.4" package
  • add support for i2c bus selection
  • add support for driver selection
  • String: allows for font selection from 'oled-font-pack' package.
  • Font default to "oled_5x7"

fix: error handling

  • caught failed to initialized Oled and log it to the debug console.
  • this prevent an infinite restart of the node-red server
  • the oled-rpi-i2c-bus may produce uncaught exception
  • happens when oled suddenly lost connection.
  • this would restart the server once and log the error on next boot.

bump to v1.1.0

@hadifikri
Copy link
Copy Markdown
Author

@Waterbrain Sorry for the previous PR. I have cleaned up the commits.

- use "`oled-rpi-i2c-bus": "^1.1.4`" package
- add support for i2c bus selection
- add support for driver selection
- String: allows for font selection from 'oled-font-pack' package.
- Font default to "oled_5x7"

fix: error handling
- caught failed to initialized Oled and log it to the debug console.
- this prevent an infinite restart of the node-red server
- the oled-rpi-i2c-bus may produce uncaught exception
- happens when oled suddenly lost connection.
- this would restart the server once and log the error on next boot.

bump to v1.1.0
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

Successfully merging this pull request may close these issues.

1 participant