{"action":"created","issue":{"url":"https://api.github.com/repos/paulo-raca/YetAnotherArduinoWiegandLibrary/issues/5","repository_url":"https://api.github.com/repos/paulo-raca/YetAnotherArduinoWiegandLibrary","labels_url":"https://api.github.com/repos/paulo-raca/YetAnotherArduinoWiegandLibrary/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/paulo-raca/YetAnotherArduinoWiegandLibrary/issues/5/comments","events_url":"https://api.github.com/repos/paulo-raca/YetAnotherArduinoWiegandLibrary/issues/5/events","html_url":"https://github.com/paulo-raca/YetAnotherArduinoWiegandLibrary/issues/5","id":295785092,"node_id":"MDU6SXNzdWUyOTU3ODUwOTI=","number":5,"title":"Unable to copile","user":{"login":"skipzoid","id":36293336,"node_id":"MDQ6VXNlcjM2MjkzMzM2","avatar_url":"https://avatars1.githubusercontent.com/u/36293336?v=4","gravatar_id":"","url":"https://api.github.com/users/skipzoid","html_url":"https://github.com/skipzoid","followers_url":"https://api.github.com/users/skipzoid/followers","following_url":"https://api.github.com/users/skipzoid/following{/other_user}","gists_url":"https://api.github.com/users/skipzoid/gists{/gist_id}","starred_url":"https://api.github.com/users/skipzoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skipzoid/subscriptions","organizations_url":"https://api.github.com/users/skipzoid/orgs","repos_url":"https://api.github.com/users/skipzoid/repos","events_url":"https://api.github.com/users/skipzoid/events{/privacy}","received_events_url":"https://api.github.com/users/skipzoid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-09T08:03:03Z","updated_at":"2018-08-31T18:43:18Z","closed_at":"2018-08-31T18:43:18Z","author_association":"NONE","body":"Hello.\r\n\r\nHere is my simply project, but it will not compile, it shows the common collect2.exe: error: ld returned 5 exit status.\r\n\r\n```\r\n#include <Wiegand.h>\r\n\r\nint code_type;\r\nint entered_code;\r\n\r\nWIEGAND wg;\r\n\r\nvoid setup() {\r\n  Serial.begin(9600);  \r\n  wg.begin();\r\n\r\n Serial.println(\"Waiting for keypad data\");\r\n}\r\n\r\nvoid loop() {\r\n  if (wg.available() ) {\r\n    code_type = wg.getWiegandType();\r\n    entered_code = wg.getCode();\r\n     \r\n    if (code_type == 4) {\r\n      Serial.print(\"Key pressed :\");\r\n    }\r\n    else {\r\n      Serial.print(\"Card Swiped :\");\r\n    }\r\n    Serial.println(entered_code,DEC);\r\n  }\r\n}\r\n```\r\n\r\n\r\n\r\nCan you see what I have done wrong ?"},"comment":{"url":"https://api.github.com/repos/paulo-raca/YetAnotherArduinoWiegandLibrary/issues/comments/417756295","html_url":"https://github.com/paulo-raca/YetAnotherArduinoWiegandLibrary/issues/5#issuecomment-417756295","issue_url":"https://api.github.com/repos/paulo-raca/YetAnotherArduinoWiegandLibrary/issues/5","id":417756295,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzc1NjI5NQ==","user":{"login":"paulo-raca","id":1072660,"node_id":"MDQ6VXNlcjEwNzI2NjA=","avatar_url":"https://avatars0.githubusercontent.com/u/1072660?v=4","gravatar_id":"","url":"https://api.github.com/users/paulo-raca","html_url":"https://github.com/paulo-raca","followers_url":"https://api.github.com/users/paulo-raca/followers","following_url":"https://api.github.com/users/paulo-raca/following{/other_user}","gists_url":"https://api.github.com/users/paulo-raca/gists{/gist_id}","starred_url":"https://api.github.com/users/paulo-raca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulo-raca/subscriptions","organizations_url":"https://api.github.com/users/paulo-raca/orgs","repos_url":"https://api.github.com/users/paulo-raca/repos","events_url":"https://api.github.com/users/paulo-raca/events{/privacy}","received_events_url":"https://api.github.com/users/paulo-raca/received_events","type":"User","site_admin":false},"created_at":"2018-08-31T18:43:18Z","updated_at":"2018-08-31T18:43:18Z","author_association":"OWNER","body":"I don't think that's the right wiegand library -- Maybe you mean this one? https://github.com/monkeyboard/Wiegand-Protocol-Library-for-Arduino"}}
{"actor":{"display_login":"paulo-raca"}}