@jon, sorry,
my last post is a little mis-leading,
I've removed the Ambient module, plugged out and in the tessel,
only IR module is connected to PORT B,
var tessel = require('tessel');
var infraredLib = require('ir-attx4');
var infrared = infraredLib.use(tessel.port['B']);
But still when running code:
$ tessel run ir.js
TESSEL! Connected to TM-00-04-f0009a30-00644753-58be6249.
INFO Bundling directory C:\Users\Oron\Dropbox\Projects\tessel-code\ir
INFO Deploying bundle (217.00 KB)...
INFO Running script...
Error: Can't connect with module...
stack traceback:
/app/node_modules/ir-attx4/index.js:272: in function 'callback'
/app/node_modules/ir-attx4/index.js:296: in function 'callback'
builtin/tessel.js:1028: in function 'f'
[T]: src/colony/lua/colony-node.lua:54: in function <[T]: src/colony/lua
/colony-node.lua:53>