{"action":"created","issue":{"url":"https://api.github.com/repos/lmclupr/brickpi-nodejs/issues/5","repository_url":"https://api.github.com/repos/lmclupr/brickpi-nodejs","labels_url":"https://api.github.com/repos/lmclupr/brickpi-nodejs/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/lmclupr/brickpi-nodejs/issues/5/comments","events_url":"https://api.github.com/repos/lmclupr/brickpi-nodejs/issues/5/events","html_url":"https://github.com/lmclupr/brickpi-nodejs/issues/5","id":237362326,"number":5,"title":"Does this work with the Brickpi3?","user":{"login":"ppinto","id":1489392,"avatar_url":"https://avatars3.githubusercontent.com/u/1489392?v=4","gravatar_id":"","url":"https://api.github.com/users/ppinto","html_url":"https://github.com/ppinto","followers_url":"https://api.github.com/users/ppinto/followers","following_url":"https://api.github.com/users/ppinto/following{/other_user}","gists_url":"https://api.github.com/users/ppinto/gists{/gist_id}","starred_url":"https://api.github.com/users/ppinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppinto/subscriptions","organizations_url":"https://api.github.com/users/ppinto/orgs","repos_url":"https://api.github.com/users/ppinto/repos","events_url":"https://api.github.com/users/ppinto/events{/privacy}","received_events_url":"https://api.github.com/users/ppinto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-20T22:22:06Z","updated_at":"2017-12-16T19:54:00Z","closed_at":null,"author_association":"NONE","body":"I tried setting this up on a brickpi3, and a brickpi seems to work on the brickpi but get's this error on the brickpi3\r\n\r\nroot@dpcbot03:~/jscode# node bot1.js\r\nrx Timeout\r\n\r\nError: timed out\r\n    at null.<anonymous> (/root/node_modules/brickpi-raspberry/Brickpi.js:46:18)\r\n    at /root/node_modules/brickpi-raspberry/Driver.js:36:6\r\n    at /root/node_modules/brickpi-raspberry/node_modules/async/lib/async.js:151:21\r\n    at null._onTimeout (/root/node_modules/brickpi-raspberry/Driver.js:52:2)\r\n    at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)\r\n\r\nhere's the code\r\nvar brickpi = require('brickpi-raspberry');\r\n.\r\nvar robot = new brickpi.BrickPi();\r\nvar motorA = new brickpi.Motor({port: brickpi.PORTS.MA, name: 'motorA'});\r\nvar motorB = new brickpi.Motor({port: brickpi.PORTS.MB, name: 'motorB'});\r\n.\r\nrobot.addMotor(motorA).addMotor(motorB).setup();\r\n.\r\nrobot.on('ready', function() {\r\n    motorA.resetPosition();\r\n    motorB.resetPosition();\r\n    robot.run();\r\n.\r\n    motorA.start(100).moveTo(5000, function(err) {\r\n        // called when motorA has reached 5000 ticks (2500 degrees in rotation).\r\n    });\r\n});\r\n.\r\nsetTimeout(function() {\r\n    motorB.start(50);\r\n}, 3000);\r\n.\r\nsetTimeout(function() {\r\n    motorB.stop();\r\n}, 5000);\r\n.\r\nsetTimeout(function() {\r\n    robot.stop();\r\n}, 10000);\r\n.\r\n"},"comment":{"url":"https://api.github.com/repos/lmclupr/brickpi-nodejs/issues/comments/352207082","html_url":"https://github.com/lmclupr/brickpi-nodejs/issues/5#issuecomment-352207082","issue_url":"https://api.github.com/repos/lmclupr/brickpi-nodejs/issues/5","id":352207082,"user":{"login":"lmclupr","id":387112,"avatar_url":"https://avatars0.githubusercontent.com/u/387112?v=4","gravatar_id":"","url":"https://api.github.com/users/lmclupr","html_url":"https://github.com/lmclupr","followers_url":"https://api.github.com/users/lmclupr/followers","following_url":"https://api.github.com/users/lmclupr/following{/other_user}","gists_url":"https://api.github.com/users/lmclupr/gists{/gist_id}","starred_url":"https://api.github.com/users/lmclupr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmclupr/subscriptions","organizations_url":"https://api.github.com/users/lmclupr/orgs","repos_url":"https://api.github.com/users/lmclupr/repos","events_url":"https://api.github.com/users/lmclupr/events{/privacy}","received_events_url":"https://api.github.com/users/lmclupr/received_events","type":"User","site_admin":false},"created_at":"2017-12-16T19:54:00Z","updated_at":"2017-12-16T19:54:00Z","author_association":"OWNER","body":"FeelingPlayed?  What the hell does that mean?  I coded the module 2-3 years ago.  I spent about a week coding it.  Free of charge.  This is volunteering work.  And you come and you complain?  And you have never committed anything yourself?  I don't even have a BrickPi anymore let alone a Brickpi3.  Why don't you pull the code, spend a couple of days updating it for BrickPi3 and submit it.  "}}
{"actor":{"display_login":"lmclupr"}}