{"action":"created","issue":{"url":"https://api.github.com/repos/jpiat/arduino/issues/11","repository_url":"https://api.github.com/repos/jpiat/arduino","labels_url":"https://api.github.com/repos/jpiat/arduino/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/jpiat/arduino/issues/11/comments","events_url":"https://api.github.com/repos/jpiat/arduino/issues/11/events","html_url":"https://github.com/jpiat/arduino/issues/11","id":164681426,"number":11,"title":"Adding parity","user":{"login":"mranno9","id":20373981,"avatar_url":"https://avatars.githubusercontent.com/u/20373981?v=3","gravatar_id":"","url":"https://api.github.com/users/mranno9","html_url":"https://github.com/mranno9","followers_url":"https://api.github.com/users/mranno9/followers","following_url":"https://api.github.com/users/mranno9/following{/other_user}","gists_url":"https://api.github.com/users/mranno9/gists{/gist_id}","starred_url":"https://api.github.com/users/mranno9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mranno9/subscriptions","organizations_url":"https://api.github.com/users/mranno9/orgs","repos_url":"https://api.github.com/users/mranno9/repos","events_url":"https://api.github.com/users/mranno9/events{/privacy}","received_events_url":"https://api.github.com/users/mranno9/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-09T19:20:45Z","updated_at":"2016-07-13T12:16:05Z","closed_at":"2016-07-11T12:00:44Z","body":"Hi,\r\nI added a parity bit to the sent data, between the 8bit data and STOP and made the word length 11 instead of 10. (START - 8bit data - 1bit parity- STOP) I know the data is sent correctly, but i have trouble receiving it. I tried modifying is_a_word(), but I can't seem to separate the parity bit. Also, the STX probably isn't received, as you can see in the picture.\r\n![p](https://cloud.githubusercontent.com/assets/20373981/16709775/af44a53c-461a-11e6-937a-9cfa0296af59.PNG) \r\nCould you show me how to modify the receiver code to separate the parity bit? \r\nThanks a lot for your reply..."},"comment":{"url":"https://api.github.com/repos/jpiat/arduino/issues/comments/232337418","html_url":"https://github.com/jpiat/arduino/issues/11#issuecomment-232337418","issue_url":"https://api.github.com/repos/jpiat/arduino/issues/11","id":232337418,"user":{"login":"jpiat","id":2315876,"avatar_url":"https://avatars.githubusercontent.com/u/2315876?v=3","gravatar_id":"","url":"https://api.github.com/users/jpiat","html_url":"https://github.com/jpiat","followers_url":"https://api.github.com/users/jpiat/followers","following_url":"https://api.github.com/users/jpiat/following{/other_user}","gists_url":"https://api.github.com/users/jpiat/gists{/gist_id}","starred_url":"https://api.github.com/users/jpiat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpiat/subscriptions","organizations_url":"https://api.github.com/users/jpiat/orgs","repos_url":"https://api.github.com/users/jpiat/repos","events_url":"https://api.github.com/users/jpiat/events{/privacy}","received_events_url":"https://api.github.com/users/jpiat/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T12:16:05Z","updated_at":"2016-07-13T12:16:05Z","body":"To integrate parity to the bits there is quite a lot to be modified on the receiver side. There is the frame format, the start/stop mask and the sync word mask.\r\n\r\n\r\n#define START_SYMBOL 0x02\r\n#define STOP_SYMBOL 0x01\r\n#define START_STOP_MASK  ((STOP_SYMBOL << 20) | (START_SYMBOL << 18) | STOP_SYMBOL) //STOP/START/16bits/STOP\r\n#define SYNC_SYMBOL_MANCHESTER (0x6665)"}}
{"actor":{"display_login":"jpiat"}}