{"action":"created","issue":{"url":"https://api.github.com/repos/Muriukidavid/SPH336_Jan2015/issues/5","labels_url":"https://api.github.com/repos/Muriukidavid/SPH336_Jan2015/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Muriukidavid/SPH336_Jan2015/issues/5/comments","events_url":"https://api.github.com/repos/Muriukidavid/SPH336_Jan2015/issues/5/events","html_url":"https://github.com/Muriukidavid/SPH336_Jan2015/pull/5","id":60533433,"number":5,"title":"Edited the code to blink LEDs on receipt of digits","user":{"login":"meshack-mbuvi","id":9263906,"avatar_url":"https://avatars.githubusercontent.com/u/9263906?v=3","gravatar_id":"","url":"https://api.github.com/users/meshack-mbuvi","html_url":"https://github.com/meshack-mbuvi","followers_url":"https://api.github.com/users/meshack-mbuvi/followers","following_url":"https://api.github.com/users/meshack-mbuvi/following{/other_user}","gists_url":"https://api.github.com/users/meshack-mbuvi/gists{/gist_id}","starred_url":"https://api.github.com/users/meshack-mbuvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meshack-mbuvi/subscriptions","organizations_url":"https://api.github.com/users/meshack-mbuvi/orgs","repos_url":"https://api.github.com/users/meshack-mbuvi/repos","events_url":"https://api.github.com/users/meshack-mbuvi/events{/privacy}","received_events_url":"https://api.github.com/users/meshack-mbuvi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-10T17:04:21Z","updated_at":"2015-03-11T16:29:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Muriukidavid/SPH336_Jan2015/pulls/5","html_url":"https://github.com/Muriukidavid/SPH336_Jan2015/pull/5","diff_url":"https://github.com/Muriukidavid/SPH336_Jan2015/pull/5.diff","patch_url":"https://github.com/Muriukidavid/SPH336_Jan2015/pull/5.patch"},"body":"changes done:\r\nCreated an header_file with two functions,one to blink the LEDs and the other to reset them on receipt of a non-digit input\r\nIncluded the header file in main.c\r\nRemoved the delay() in main.c to do away with delays in updating the LEDs\r\nIncluded an if statement in main.c to confirm for input of a digit\r\nAdded a loop to constantly poll the uart channel for data\r\nRemoved the function toogle_LED1 since its not needed"},"comment":{"url":"https://api.github.com/repos/Muriukidavid/SPH336_Jan2015/issues/comments/78299699","html_url":"https://github.com/Muriukidavid/SPH336_Jan2015/pull/5#issuecomment-78299699","issue_url":"https://api.github.com/repos/Muriukidavid/SPH336_Jan2015/issues/5","id":78299699,"user":{"login":"Muriukidavid","id":2043161,"avatar_url":"https://avatars.githubusercontent.com/u/2043161?v=3","gravatar_id":"","url":"https://api.github.com/users/Muriukidavid","html_url":"https://github.com/Muriukidavid","followers_url":"https://api.github.com/users/Muriukidavid/followers","following_url":"https://api.github.com/users/Muriukidavid/following{/other_user}","gists_url":"https://api.github.com/users/Muriukidavid/gists{/gist_id}","starred_url":"https://api.github.com/users/Muriukidavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Muriukidavid/subscriptions","organizations_url":"https://api.github.com/users/Muriukidavid/orgs","repos_url":"https://api.github.com/users/Muriukidavid/repos","events_url":"https://api.github.com/users/Muriukidavid/events{/privacy}","received_events_url":"https://api.github.com/users/Muriukidavid/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T16:29:36Z","updated_at":"2015-03-11T16:29:36Z","body":":-1: \r\nDon't use \r\n```c\r\n#include<ctype.h>\r\n```\r\nwrite simpler code"}}