{"action":"created","issue":{"url":"https://api.github.com/repos/sui77/rc-switch/issues/45","repository_url":"https://api.github.com/repos/sui77/rc-switch","labels_url":"https://api.github.com/repos/sui77/rc-switch/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/sui77/rc-switch/issues/45/comments","events_url":"https://api.github.com/repos/sui77/rc-switch/issues/45/events","html_url":"https://github.com/sui77/rc-switch/issues/45","id":150462088,"number":45,"title":"ENC28J60","user":{"login":"inflamers","id":13288509,"avatar_url":"https://avatars.githubusercontent.com/u/13288509?v=3","gravatar_id":"","url":"https://api.github.com/users/inflamers","html_url":"https://github.com/inflamers","followers_url":"https://api.github.com/users/inflamers/followers","following_url":"https://api.github.com/users/inflamers/following{/other_user}","gists_url":"https://api.github.com/users/inflamers/gists{/gist_id}","starred_url":"https://api.github.com/users/inflamers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inflamers/subscriptions","organizations_url":"https://api.github.com/users/inflamers/orgs","repos_url":"https://api.github.com/users/inflamers/repos","events_url":"https://api.github.com/users/inflamers/events{/privacy}","received_events_url":"https://api.github.com/users/inflamers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-22T20:18:07Z","updated_at":"2016-05-03T09:36:40Z","closed_at":null,"body":"Hello\r\n\r\nI have a small project running on an arduino Uno, when receiving a 433Mz signal from a sensor, the arduino sends an email through ENC28J60 module. Everything almost works, once it's connected to the internet, the initialization of the module makes my arduino to reboot continuously. I discovered that the issue comes from the function mySwitch.enableReceive(0). For some reason, using this interrupt is the root cause. My question is, is there any other solution to use this function with pin 2 and no interruption ?\r\n\r\nThanks !\r\nMickael."},"comment":{"url":"https://api.github.com/repos/sui77/rc-switch/issues/comments/216480422","html_url":"https://github.com/sui77/rc-switch/issues/45#issuecomment-216480422","issue_url":"https://api.github.com/repos/sui77/rc-switch/issues/45","id":216480422,"user":{"login":"fingolfin","id":241512,"avatar_url":"https://avatars.githubusercontent.com/u/241512?v=3","gravatar_id":"","url":"https://api.github.com/users/fingolfin","html_url":"https://github.com/fingolfin","followers_url":"https://api.github.com/users/fingolfin/followers","following_url":"https://api.github.com/users/fingolfin/following{/other_user}","gists_url":"https://api.github.com/users/fingolfin/gists{/gist_id}","starred_url":"https://api.github.com/users/fingolfin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fingolfin/subscriptions","organizations_url":"https://api.github.com/users/fingolfin/orgs","repos_url":"https://api.github.com/users/fingolfin/repos","events_url":"https://api.github.com/users/fingolfin/events{/privacy}","received_events_url":"https://api.github.com/users/fingolfin/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T09:36:40Z","updated_at":"2016-05-03T09:36:40Z","body":"Perhaps something else is also trying to use pin 2 and/or messing with interrupts? E.g. the ethernet code?\r\n\r\nIn any case, I doubt this is due to a bug in rc-switch. You are most likely better of asking for help in a general Arduino forum. And if you could provide more (or ideally all) of the source code, it would be easier to pinpoint where things go wrong."}}