I've rewritten the native bindings to use https://github.com/rvagg/nan which now lets it compile on both 0.10 (and perhaps earlier) and 0.12 (and perhaps forks…).
This also adds a bit of polish to arguments handling, with JS-level type checking and a default value for readcount on spi.transfer.
I've rewritten the native bindings to use https://github.com/rvagg/nan which now lets it compile on both 0.10 (and perhaps earlier) and 0.12 (and perhaps forks…).
This also adds a bit of polish to arguments handling, with JS-level type checking and a default value for readcount on
spi.transfer
.This should fix https://github.com/natevw/pi-spi/issues/14 and https://github.com/natevw/pi-spi/issues/8