{"action":"created","issue":{"url":"https://api.github.com/repos/tessel/rfid-pn532/issues/32","repository_url":"https://api.github.com/repos/tessel/rfid-pn532","labels_url":"https://api.github.com/repos/tessel/rfid-pn532/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/tessel/rfid-pn532/issues/32/comments","events_url":"https://api.github.com/repos/tessel/rfid-pn532/issues/32/events","html_url":"https://github.com/tessel/rfid-pn532/issues/32","id":176548311,"number":32,"title":"T2 Example code does not run.","user":{"login":"OR13","id":8295856,"avatar_url":"https://avatars.githubusercontent.com/u/8295856?v=3","gravatar_id":"","url":"https://api.github.com/users/OR13","html_url":"https://github.com/OR13","followers_url":"https://api.github.com/users/OR13/followers","following_url":"https://api.github.com/users/OR13/following{/other_user}","gists_url":"https://api.github.com/users/OR13/gists{/gist_id}","starred_url":"https://api.github.com/users/OR13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OR13/subscriptions","organizations_url":"https://api.github.com/users/OR13/orgs","repos_url":"https://api.github.com/users/OR13/repos","events_url":"https://api.github.com/users/OR13/events{/privacy}","received_events_url":"https://api.github.com/users/OR13/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-13T04:47:18Z","updated_at":"2016-09-21T18:49:20Z","closed_at":"2016-09-21T18:49:20Z","body":"Attempting to follow these instructions:\r\n\r\nhttps://tessel.github.io/t2-start/modules/rfid.html\r\n\r\n```\r\nINFO Looking for your Tessel...\r\nINFO Connected to athena.\r\nINFO Tessel [athena] CLI version: 0.0.28\r\nINFO Tessel [athena] Firmware version: 0.0.14\r\nINFO Tessel [athena] Node version: 4.4.3\r\n```\r\n\r\nHardware is connected properly, running code:\r\n\r\n```\r\n// Any copyright is dedicated to the Public Domain.\r\n// http://creativecommons.org/publicdomain/zero/1.0/\r\n\r\n/*********************************************\r\nThis basic RFID example listens for an RFID\r\ndevice to come within range of the module,\r\nthen logs its UID to the console.\r\n*********************************************/\r\n\r\nvar tessel = require('tessel');\r\nvar rfidlib = require('rfid-pn532');\r\n\r\nvar rfid = rfidlib.use(tessel.port['A']);\r\n\r\nrfid.on('ready', function (version) {\r\n  console.log('Ready to read RFID card');\r\n\r\n  rfid.on('data', function(card) {\r\n    console.log('UID:', card.uid.toString('hex'));\r\n  });\r\n});\r\n\r\nrfid.on('error', function (err) {\r\n  console.error(err);\r\n});\r\n```\r\n\r\n### Expected\r\n\r\nExpect card uid to be logged to console.\r\n\r\n### Observed\r\n\r\nOrange LED indicator flashes in the presence of the card, and is steady when no card is present.\r\nNothing is logged to console.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tessel/rfid-pn532/issues/comments/248706320","html_url":"https://github.com/tessel/rfid-pn532/issues/32#issuecomment-248706320","issue_url":"https://api.github.com/repos/tessel/rfid-pn532/issues/32","id":248706320,"user":{"login":"johnnyman727","id":432909,"avatar_url":"https://avatars.githubusercontent.com/u/432909?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnyman727","html_url":"https://github.com/johnnyman727","followers_url":"https://api.github.com/users/johnnyman727/followers","following_url":"https://api.github.com/users/johnnyman727/following{/other_user}","gists_url":"https://api.github.com/users/johnnyman727/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnyman727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnyman727/subscriptions","organizations_url":"https://api.github.com/users/johnnyman727/orgs","repos_url":"https://api.github.com/users/johnnyman727/repos","events_url":"https://api.github.com/users/johnnyman727/events{/privacy}","received_events_url":"https://api.github.com/users/johnnyman727/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T18:49:20Z","updated_at":"2016-09-21T18:49:20Z","body":"Closing this as it was fixed in the last version of firmware. "}}
{"actor":{"display_login":"johnnyman727"}}