{"action":"reopened","number":2,"pull_request":{"url":"https://api.github.com/repos/roscopetracula/hindenburgFights/pulls/2","id":28429422,"html_url":"https://github.com/roscopetracula/hindenburgFights/pull/2","diff_url":"https://github.com/roscopetracula/hindenburgFights/pull/2.diff","patch_url":"https://github.com/roscopetracula/hindenburgFights/pull/2.patch","issue_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/issues/2","number":2,"state":"open","locked":false,"title":"Update rfduino_bleMotorControl.ino","user":{"login":"doublesharp","id":571472,"avatar_url":"https://avatars.githubusercontent.com/u/571472?v=3","gravatar_id":"","url":"https://api.github.com/users/doublesharp","html_url":"https://github.com/doublesharp","followers_url":"https://api.github.com/users/doublesharp/followers","following_url":"https://api.github.com/users/doublesharp/following{/other_user}","gists_url":"https://api.github.com/users/doublesharp/gists{/gist_id}","starred_url":"https://api.github.com/users/doublesharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doublesharp/subscriptions","organizations_url":"https://api.github.com/users/doublesharp/orgs","repos_url":"https://api.github.com/users/doublesharp/repos","events_url":"https://api.github.com/users/doublesharp/events{/privacy}","received_events_url":"https://api.github.com/users/doublesharp/received_events","type":"User","site_admin":false},"body":"I DID NOT TEST THIS CODE. I don't have a battery. But I did clean it up a lot and it will verify and load to the RFDuino. If someone can test this on a working blimp setup it might be worth accepting the merge.\r\n\r\nStore motor GPIO values in an array.\r\nRefactor startup code to put less stress on the motors/battery (forward,stop,reverse,stop).\r\nPut device into low power mode.\r\nAdded convenience method to run commands on all motors at once.\r\nGrouped event handling methods.","created_at":"2015-02-01T10:40:58Z","updated_at":"2015-02-02T20:13:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ee7fb45f21bb5bbf9ec6d3b2e1c91efd997c49d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/pulls/2/commits","review_comments_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/pulls/2/comments","review_comment_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/pulls/comments/{number}","comments_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/issues/2/comments","statuses_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/statuses/6948f17aa26c32e0e85636d7f83f4d7731afe397","head":{"label":"doublesharp:master","ref":"master","sha":"6948f17aa26c32e0e85636d7f83f4d7731afe397","user":{"login":"doublesharp","id":571472,"avatar_url":"https://avatars.githubusercontent.com/u/571472?v=3","gravatar_id":"","url":"https://api.github.com/users/doublesharp","html_url":"https://github.com/doublesharp","followers_url":"https://api.github.com/users/doublesharp/followers","following_url":"https://api.github.com/users/doublesharp/following{/other_user}","gists_url":"https://api.github.com/users/doublesharp/gists{/gist_id}","starred_url":"https://api.github.com/users/doublesharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doublesharp/subscriptions","organizations_url":"https://api.github.com/users/doublesharp/orgs","repos_url":"https://api.github.com/users/doublesharp/repos","events_url":"https://api.github.com/users/doublesharp/events{/privacy}","received_events_url":"https://api.github.com/users/doublesharp/received_events","type":"User","site_admin":false},"repo":{"id":30142932,"name":"hindenburgFights","full_name":"doublesharp/hindenburgFights","owner":{"login":"doublesharp","id":571472,"avatar_url":"https://avatars.githubusercontent.com/u/571472?v=3","gravatar_id":"","url":"https://api.github.com/users/doublesharp","html_url":"https://github.com/doublesharp","followers_url":"https://api.github.com/users/doublesharp/followers","following_url":"https://api.github.com/users/doublesharp/following{/other_user}","gists_url":"https://api.github.com/users/doublesharp/gists{/gist_id}","starred_url":"https://api.github.com/users/doublesharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doublesharp/subscriptions","organizations_url":"https://api.github.com/users/doublesharp/orgs","repos_url":"https://api.github.com/users/doublesharp/repos","events_url":"https://api.github.com/users/doublesharp/events{/privacy}","received_events_url":"https://api.github.com/users/doublesharp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/doublesharp/hindenburgFights","description":"","fork":true,"url":"https://api.github.com/repos/doublesharp/hindenburgFights","forks_url":"https://api.github.com/repos/doublesharp/hindenburgFights/forks","keys_url":"https://api.github.com/repos/doublesharp/hindenburgFights/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doublesharp/hindenburgFights/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doublesharp/hindenburgFights/teams","hooks_url":"https://api.github.com/repos/doublesharp/hindenburgFights/hooks","issue_events_url":"https://api.github.com/repos/doublesharp/hindenburgFights/issues/events{/number}","events_url":"https://api.github.com/repos/doublesharp/hindenburgFights/events","assignees_url":"https://api.github.com/repos/doublesharp/hindenburgFights/assignees{/user}","branches_url":"https://api.github.com/repos/doublesharp/hindenburgFights/branches{/branch}","tags_url":"https://api.github.com/repos/doublesharp/hindenburgFights/tags","blobs_url":"https://api.github.com/repos/doublesharp/hindenburgFights/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doublesharp/hindenburgFights/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doublesharp/hindenburgFights/git/refs{/sha}","trees_url":"https://api.github.com/repos/doublesharp/hindenburgFights/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doublesharp/hindenburgFights/statuses/{sha}","languages_url":"https://api.github.com/repos/doublesharp/hindenburgFights/languages","stargazers_url":"https://api.github.com/repos/doublesharp/hindenburgFights/stargazers","contributors_url":"https://api.github.com/repos/doublesharp/hindenburgFights/contributors","subscribers_url":"https://api.github.com/repos/doublesharp/hindenburgFights/subscribers","subscription_url":"https://api.github.com/repos/doublesharp/hindenburgFights/subscription","commits_url":"https://api.github.com/repos/doublesharp/hindenburgFights/commits{/sha}","git_commits_url":"https://api.github.com/repos/doublesharp/hindenburgFights/git/commits{/sha}","comments_url":"https://api.github.com/repos/doublesharp/hindenburgFights/comments{/number}","issue_comment_url":"https://api.github.com/repos/doublesharp/hindenburgFights/issues/comments/{number}","contents_url":"https://api.github.com/repos/doublesharp/hindenburgFights/contents/{+path}","compare_url":"https://api.github.com/repos/doublesharp/hindenburgFights/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doublesharp/hindenburgFights/merges","archive_url":"https://api.github.com/repos/doublesharp/hindenburgFights/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doublesharp/hindenburgFights/downloads","issues_url":"https://api.github.com/repos/doublesharp/hindenburgFights/issues{/number}","pulls_url":"https://api.github.com/repos/doublesharp/hindenburgFights/pulls{/number}","milestones_url":"https://api.github.com/repos/doublesharp/hindenburgFights/milestones{/number}","notifications_url":"https://api.github.com/repos/doublesharp/hindenburgFights/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doublesharp/hindenburgFights/labels{/name}","releases_url":"https://api.github.com/repos/doublesharp/hindenburgFights/releases{/id}","created_at":"2015-02-01T10:25:56Z","updated_at":"2015-02-02T10:27:29Z","pushed_at":"2015-02-02T10:27:28Z","git_url":"git://github.com/doublesharp/hindenburgFights.git","ssh_url":"git@github.com:doublesharp/hindenburgFights.git","clone_url":"https://github.com/doublesharp/hindenburgFights.git","svn_url":"https://github.com/doublesharp/hindenburgFights","homepage":null,"size":122,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"roscopetracula:master","ref":"master","sha":"7f3134e0f9cc6f73414739e68ee46e281e77052d","user":{"login":"roscopetracula","id":10606466,"avatar_url":"https://avatars.githubusercontent.com/u/10606466?v=3","gravatar_id":"","url":"https://api.github.com/users/roscopetracula","html_url":"https://github.com/roscopetracula","followers_url":"https://api.github.com/users/roscopetracula/followers","following_url":"https://api.github.com/users/roscopetracula/following{/other_user}","gists_url":"https://api.github.com/users/roscopetracula/gists{/gist_id}","starred_url":"https://api.github.com/users/roscopetracula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roscopetracula/subscriptions","organizations_url":"https://api.github.com/users/roscopetracula/orgs","repos_url":"https://api.github.com/users/roscopetracula/repos","events_url":"https://api.github.com/users/roscopetracula/events{/privacy}","received_events_url":"https://api.github.com/users/roscopetracula/received_events","type":"User","site_admin":false},"repo":{"id":29505388,"name":"hindenburgFights","full_name":"roscopetracula/hindenburgFights","owner":{"login":"roscopetracula","id":10606466,"avatar_url":"https://avatars.githubusercontent.com/u/10606466?v=3","gravatar_id":"","url":"https://api.github.com/users/roscopetracula","html_url":"https://github.com/roscopetracula","followers_url":"https://api.github.com/users/roscopetracula/followers","following_url":"https://api.github.com/users/roscopetracula/following{/other_user}","gists_url":"https://api.github.com/users/roscopetracula/gists{/gist_id}","starred_url":"https://api.github.com/users/roscopetracula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roscopetracula/subscriptions","organizations_url":"https://api.github.com/users/roscopetracula/orgs","repos_url":"https://api.github.com/users/roscopetracula/repos","events_url":"https://api.github.com/users/roscopetracula/events{/privacy}","received_events_url":"https://api.github.com/users/roscopetracula/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/roscopetracula/hindenburgFights","description":"","fork":false,"url":"https://api.github.com/repos/roscopetracula/hindenburgFights","forks_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/forks","keys_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/keys{/key_id}","collaborators_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/teams","hooks_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/hooks","issue_events_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/issues/events{/number}","events_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/events","assignees_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/assignees{/user}","branches_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/branches{/branch}","tags_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/tags","blobs_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/git/refs{/sha}","trees_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/git/trees{/sha}","statuses_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/statuses/{sha}","languages_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/languages","stargazers_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/stargazers","contributors_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/contributors","subscribers_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/subscribers","subscription_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/subscription","commits_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/commits{/sha}","git_commits_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/git/commits{/sha}","comments_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/comments{/number}","issue_comment_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/issues/comments/{number}","contents_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/contents/{+path}","compare_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/compare/{base}...{head}","merges_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/merges","archive_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/downloads","issues_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/issues{/number}","pulls_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/pulls{/number}","milestones_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/milestones{/number}","notifications_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/labels{/name}","releases_url":"https://api.github.com/repos/roscopetracula/hindenburgFights/releases{/id}","created_at":"2015-01-20T01:20:30Z","updated_at":"2015-02-02T18:44:42Z","pushed_at":"2015-02-01T00:26:01Z","git_url":"git://github.com/roscopetracula/hindenburgFights.git","ssh_url":"git@github.com:roscopetracula/hindenburgFights.git","clone_url":"https://github.com/roscopetracula/hindenburgFights.git","svn_url":"https://github.com/roscopetracula/hindenburgFights","homepage":null,"size":122,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/roscopetracula/hindenburgFights/pulls/2"},"html":{"href":"https://github.com/roscopetracula/hindenburgFights/pull/2"},"issue":{"href":"https://api.github.com/repos/roscopetracula/hindenburgFights/issues/2"},"comments":{"href":"https://api.github.com/repos/roscopetracula/hindenburgFights/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/roscopetracula/hindenburgFights/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/roscopetracula/hindenburgFights/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/roscopetracula/hindenburgFights/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/roscopetracula/hindenburgFights/statuses/6948f17aa26c32e0e85636d7f83f4d7731afe397"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":0,"commits":2,"additions":144,"deletions":163,"changed_files":1}}