Closed jgable closed 10 years ago
Thanks!
Any idea when/if this change is going to be published in the i2c version that is in the npmjs repository?
Same question from me. I changed:
if @options.debug
require('repl').start(
prompt: "i2c > "
).context.wire = @
process.stdin.emit 'data', 1 # trigger repl
To: if @options.debug require('repl').start( prompt: "i2c > " ).context.wire = @ process.stdin.emit 'data', '1' # trigger repl
And everything works great. Anything we can do to help?
Closes #12
Instead of emitting a 1, emit an empty string.
Tested on Raspberry Pi, Node 0.10.20.