natevw / node-nrf

Pure-JavaScript nRF24L01 driver library
117 stars 31 forks source link

Two wrapper modules on this for better Linux vs. Tessel story #15

Open natevw opened 10 years ago

natevw commented 10 years ago

I think this will solve some of the problems supporting multiple platforms (e.g. Linux and Tessel, see #12) and also avoids TM having to constantly maintain a fork:

(Original idea via @jiahuang, any blameworthiness invented while typing it out mine…)

natevw commented 10 years ago

Current thinking:

jiahuang commented 10 years ago

:+1: I'm assuming the node-nrf package needs some config object so that they can declare all their pins up front?

How's the rf-nrf24 exposure with the Tessel port going to look like? Because if it's used with Tessel, all the end user should have to pass in is the port letter since the IRQ/RST/CS pins are all mapped. Though I guess if you want to make it compatible with the node-nrf the abstract hardware wrapper needs to explicitly map pins and functions.

BTW @nlintz has been working on https://github.com/nlintz/PTP-Tessel which has the end goal of being able to run current Tessel modules on RPI, BeagleBone, etc.