You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>> /tmp/remote-script/node_modules/tessel-io/lib/index.js:842
state.i2c[address].send(buffer);
^
TypeError: Cannot read property 'send' of undefined
at Board.i2cWrite (/tmp/remote-script/node_modules/tessel-io/lib/index.js:842:25)
at t._transfer (/tmp/remote-script/node_modules/oled-js/oled.js:1:2777)
at t._initialise (/tmp/remote-script/node_modules/oled-js/oled.js:1:2133)
at new t (/tmp/remote-script/node_modules/oled-js/oled.js:1:1652)
at t.<anonymous> (/tmp/remote-script/index.js:1:226)
at emitNone (events.js:72:20)
at t.emit (events.js:166:7)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickDomainCallback (node.js:390:13)
Code:
var five = require('johnny-five'),
Oled = require('oled-js');
var Tessel = require("tessel-io");
var board = new five.Board({
io: new Tessel()
});
board.on('ready', function() {
var opts = {
width: 128,
height: 32,
address: 0x06
};
var oled = new Oled(board, five, opts);
var font = require('oled-font-5x7');
oled.drawCircle(30, 10, 5, 1);
oled.update();
});
Hello, please tell me how to solve this problem
The text was updated successfully, but these errors were encountered:
I just pushed a fix for this, in a new version of oled-js. I am going to give this a go with my own Tessel 2, but in the meantime can you please test this on your end and let me know if it works? Reopen this issue if you don't find success.
Error:
Code:
Hello, please tell me how to solve this problem
The text was updated successfully, but these errors were encountered: