{"action":"created","issue":{"url":"https://api.github.com/repos/jpliew/Wiegand-NG-Multi-Bit-Wiegand-Library-for-Arduino/issues/3","repository_url":"https://api.github.com/repos/jpliew/Wiegand-NG-Multi-Bit-Wiegand-Library-for-Arduino","labels_url":"https://api.github.com/repos/jpliew/Wiegand-NG-Multi-Bit-Wiegand-Library-for-Arduino/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/jpliew/Wiegand-NG-Multi-Bit-Wiegand-Library-for-Arduino/issues/3/comments","events_url":"https://api.github.com/repos/jpliew/Wiegand-NG-Multi-Bit-Wiegand-Library-for-Arduino/issues/3/events","html_url":"https://github.com/jpliew/Wiegand-NG-Multi-Bit-Wiegand-Library-for-Arduino/issues/3","id":304116301,"number":3,"title":"How to start wiegand on another pin than 2 and 3 configuring them form sketch ?","user":{"login":"Netoperz","id":16330298,"avatar_url":"https://avatars2.githubusercontent.com/u/16330298?v=4","gravatar_id":"","url":"https://api.github.com/users/Netoperz","html_url":"https://github.com/Netoperz","followers_url":"https://api.github.com/users/Netoperz/followers","following_url":"https://api.github.com/users/Netoperz/following{/other_user}","gists_url":"https://api.github.com/users/Netoperz/gists{/gist_id}","starred_url":"https://api.github.com/users/Netoperz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Netoperz/subscriptions","organizations_url":"https://api.github.com/users/Netoperz/orgs","repos_url":"https://api.github.com/users/Netoperz/repos","events_url":"https://api.github.com/users/Netoperz/events{/privacy}","received_events_url":"https://api.github.com/users/Netoperz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-03-10T23:51:22Z","updated_at":"2018-03-11T02:00:07Z","closed_at":null,"author_association":"NONE","body":"in the monkeyboard i could use\r\n\r\n`void setup() { wg.begin(19, 21);`\r\n\r\nand here it seems not working, in the example file i can't see initialization (i'm not a C guru thow)  so if question is stupid i'm sorry, but could you post here an example ? I try to get this working on esp 32"},"comment":{"url":"https://api.github.com/repos/jpliew/Wiegand-NG-Multi-Bit-Wiegand-Library-for-Arduino/issues/comments/372082989","html_url":"https://github.com/jpliew/Wiegand-NG-Multi-Bit-Wiegand-Library-for-Arduino/issues/3#issuecomment-372082989","issue_url":"https://api.github.com/repos/jpliew/Wiegand-NG-Multi-Bit-Wiegand-Library-for-Arduino/issues/3","id":372082989,"user":{"login":"Netoperz","id":16330298,"avatar_url":"https://avatars2.githubusercontent.com/u/16330298?v=4","gravatar_id":"","url":"https://api.github.com/users/Netoperz","html_url":"https://github.com/Netoperz","followers_url":"https://api.github.com/users/Netoperz/followers","following_url":"https://api.github.com/users/Netoperz/following{/other_user}","gists_url":"https://api.github.com/users/Netoperz/gists{/gist_id}","starred_url":"https://api.github.com/users/Netoperz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Netoperz/subscriptions","organizations_url":"https://api.github.com/users/Netoperz/orgs","repos_url":"https://api.github.com/users/Netoperz/repos","events_url":"https://api.github.com/users/Netoperz/events{/privacy}","received_events_url":"https://api.github.com/users/Netoperz/received_events","type":"User","site_admin":false},"created_at":"2018-03-11T02:00:07Z","updated_at":"2018-03-11T02:00:07Z","author_association":"NONE","body":"Main loop is empty, i'm using tasks for wiegand, wifi and all the functions with timers. \r\n\r\nThe question is, why that particular keypad has got problems, and other two types does not.\r\nAnd why with WiegandNG example on Leonardo there is no problems.\r\nAnd why I cannot flash this example.\r\nAs You see the example is compiling fine, but on esp32 board i have i cannot use GPIO3, it is absent. So that was why i was asking about exaple how to change the pins definition for Do and D1 in sketch, because when i have changed them in lib.cpp that did not worked.\r\n\r\n`bool WiegandNG::begin(unsigned int allocateBits, unsigned int packetGap) {\r\n#ifdef digitalPinToInterrupt\r\n\t// newer versions of Arduino provide pin to interrupt mapping\r\n\tbegin(19,digitalPinToInterrupt(19),21,digitalPinToInterrupt(21), allocateBits, packetGap);\r\n#else`\r\n\r\nit does not take any effect, no output on terminal."}}
{"actor":{"display_login":"Netoperz"}}