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

Node wrapper for Edison_OLED_Block #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bfeldman74
Copy link

I created a node addon for the OLED, SPI and GPIO classes to make them available in node applications. The API in javascript mirrors the C++ API with almost no exceptions.

The addon is published on NPM as edison-oled.

https://www.npmjs.com/package/edison-oled

I tested enough for my own personal needs and it seems to work great.

A couple of notes:

  1. My C/C++ leaves a lot to be desired, so feel free to provide feedback and/or updates.
  2. I think the only part of the API not implemented is EdisonSpiWrap::getCSPin becuase I couldn't get it to pass the wrapped object back properly and I don't need it.

Hope this is useful for some other folks!

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.

None yet

2 participants