{"action":"created","issue":{"url":"https://api.github.com/repos/zendes/SBUS/issues/3","labels_url":"https://api.github.com/repos/zendes/SBUS/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/zendes/SBUS/issues/3/comments","events_url":"https://api.github.com/repos/zendes/SBUS/issues/3/events","html_url":"https://github.com/zendes/SBUS/issues/3","id":117026760,"number":3,"title":"Will not compile for Arduino Leonardo","user":{"login":"Dagroid","id":11246272,"avatar_url":"https://avatars.githubusercontent.com/u/11246272?v=3","gravatar_id":"","url":"https://api.github.com/users/Dagroid","html_url":"https://github.com/Dagroid","followers_url":"https://api.github.com/users/Dagroid/followers","following_url":"https://api.github.com/users/Dagroid/following{/other_user}","gists_url":"https://api.github.com/users/Dagroid/gists{/gist_id}","starred_url":"https://api.github.com/users/Dagroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dagroid/subscriptions","organizations_url":"https://api.github.com/users/Dagroid/orgs","repos_url":"https://api.github.com/users/Dagroid/repos","events_url":"https://api.github.com/users/Dagroid/events{/privacy}","received_events_url":"https://api.github.com/users/Dagroid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-15T23:31:47Z","updated_at":"2015-11-24T23:41:27Z","closed_at":null,"body":"It seems this library is currently incompatible with the ATmega32u4 from the Arduino Leonardo (built into a DFrobot Romeo in my case).  Could this library be made compatible?  This SBUS library would be great on this robot controller!  Thank you.\r\n\r\nHere is my Arduino IDE 1.6.4 error messages:\r\n\r\n...\\arduino-1.6.4\\libraries\\SBUS\\SBUS.cpp: In member function 'void SBUS::begin(bool)':\r\n...arduino-1.6.4\\libraries\\SBUS\\SBUS.cpp:11:3: error: 'TCCR2A' was not declared in this scope\r\n   TCCR2A  = 0;\r\n   ^\r\n...\\arduino-1.6.4\\libraries\\SBUS\\SBUS.cpp:12:3: error: 'TCCR2B' was not declared in this scope\r\n   TCCR2B  = 0;\r\n   ^\r\n...\\arduino-1.6.4\\libraries\\SBUS\\SBUS.cpp:13:3: error: 'TCNT2' was not declared in this scope\r\n   TCNT2   = 0;\r\n   ^\r\n...\\arduino-1.6.4\\libraries\\SBUS\\SBUS.cpp:14:3: error: 'OCR2A' was not declared in this scope\r\n   OCR2A   = 249;\r\n   ^\r\n...\\arduino-1.6.4\\libraries\\SBUS\\SBUS.cpp:15:19: error: 'WGM21' was not declared in this scope\r\n   TCCR2A |= (1 << WGM21);\r\n                   ^\r\n...\\arduino-1.6.4\\libraries\\SBUS\\SBUS.cpp:16:19: error: 'CS22' was not declared in this scope\r\n   TCCR2B |= (1 << CS22);\r\n                   ^\r\nError compiling."},"comment":{"url":"https://api.github.com/repos/zendes/SBUS/issues/comments/159440508","html_url":"https://github.com/zendes/SBUS/issues/3#issuecomment-159440508","issue_url":"https://api.github.com/repos/zendes/SBUS/issues/3","id":159440508,"user":{"login":"Dagroid","id":11246272,"avatar_url":"https://avatars.githubusercontent.com/u/11246272?v=3","gravatar_id":"","url":"https://api.github.com/users/Dagroid","html_url":"https://github.com/Dagroid","followers_url":"https://api.github.com/users/Dagroid/followers","following_url":"https://api.github.com/users/Dagroid/following{/other_user}","gists_url":"https://api.github.com/users/Dagroid/gists{/gist_id}","starred_url":"https://api.github.com/users/Dagroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dagroid/subscriptions","organizations_url":"https://api.github.com/users/Dagroid/orgs","repos_url":"https://api.github.com/users/Dagroid/repos","events_url":"https://api.github.com/users/Dagroid/events{/privacy}","received_events_url":"https://api.github.com/users/Dagroid/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T23:41:27Z","updated_at":"2015-11-24T23:41:27Z","body":"Awesome, hopefully it's something relatively simple to add in.  \r\n"}}