kelly / node-i2c

Node.js native bindings for i2c-dev. Plays well with Raspberry Pi and Beaglebone.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Library prevents PI from rebooting

AuspeXeu opened this issue · comments

It seems like this code in line 21 of the lib file
process.on 'exit', => @close()
prevents my raspberry pi from rebooting if I am reading from a wire simultaneously. After removing this line it works flawlessly. Any suggestions on how to fix this?