{"action":"opened","number":222,"pull_request":{"url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/pulls/222","id":67909648,"html_url":"https://github.com/ShikOfTheRa/scarab-osd/pull/222","diff_url":"https://github.com/ShikOfTheRa/scarab-osd/pull/222.diff","patch_url":"https://github.com/ShikOfTheRa/scarab-osd/pull/222.patch","issue_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/issues/222","number":222,"state":"open","locked":false,"title":"New platform prep","user":{"login":"nathantsoi","id":399770,"avatar_url":"https://avatars.githubusercontent.com/u/399770?v=3","gravatar_id":"","url":"https://api.github.com/users/nathantsoi","html_url":"https://github.com/nathantsoi","followers_url":"https://api.github.com/users/nathantsoi/followers","following_url":"https://api.github.com/users/nathantsoi/following{/other_user}","gists_url":"https://api.github.com/users/nathantsoi/gists{/gist_id}","starred_url":"https://api.github.com/users/nathantsoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathantsoi/subscriptions","organizations_url":"https://api.github.com/users/nathantsoi/orgs","repos_url":"https://api.github.com/users/nathantsoi/repos","events_url":"https://api.github.com/users/nathantsoi/events{/privacy}","received_events_url":"https://api.github.com/users/nathantsoi/received_events","type":"User","site_admin":false},"body":"@shikofthera, this is almost done, but not quite there (i broke `Settings` when i moved everything), but I wanted to share as there have been lots of changes on master. I'll rebase once I get this version work (if anyone can help me fix `Settings`, that would be awesome the general idea stand:  encapsulate each component so we have more modular, testable code in hopes of taking the re-usable components and making this run on other platform (pulpino, stm32, etc.)\r\n\r\nOther notable changes include a legit `Makefile` (only tested on Mac OS so far), but at least on mac, simply run `make` and you'll get a compiled elf and hex. Then run `make arduino-flash` with your minimosd plugged in and it will flash the device for you.\r\n\r\nAlso, I moved some stuff to program mem (I need to move https://github.com/ShikOfTheRa/scarab-osd/pull/216/files too) and saved quite a bit of `SRAM` space, we're using 79%, `1619` bytes on this branch\r\n\r\nFinally, I updated the readme with debugging / simulation instructions.\r\n\r\nWhile the basic ideas are there it's by no means perfect as there are still lots of globals and random interdependencies, but I figure it's better to merge now (once Settings work) so it's easier to merge other ongoing updates.\r\n\r\nCheers, N","created_at":"2016-04-26T15:45:02Z","updated_at":"2016-04-26T15:45:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/pulls/222/commits","review_comments_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/pulls/222/comments","review_comment_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/issues/222/comments","statuses_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/statuses/5d30941528f888ec83f5471a91d334f89fdae63c","head":{"label":"nathantsoi:new-platform-prep","ref":"new-platform-prep","sha":"5d30941528f888ec83f5471a91d334f89fdae63c","user":{"login":"nathantsoi","id":399770,"avatar_url":"https://avatars.githubusercontent.com/u/399770?v=3","gravatar_id":"","url":"https://api.github.com/users/nathantsoi","html_url":"https://github.com/nathantsoi","followers_url":"https://api.github.com/users/nathantsoi/followers","following_url":"https://api.github.com/users/nathantsoi/following{/other_user}","gists_url":"https://api.github.com/users/nathantsoi/gists{/gist_id}","starred_url":"https://api.github.com/users/nathantsoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathantsoi/subscriptions","organizations_url":"https://api.github.com/users/nathantsoi/orgs","repos_url":"https://api.github.com/users/nathantsoi/repos","events_url":"https://api.github.com/users/nathantsoi/events{/privacy}","received_events_url":"https://api.github.com/users/nathantsoi/received_events","type":"User","site_admin":false},"repo":{"id":47737643,"name":"scarab-osd","full_name":"nathantsoi/scarab-osd","owner":{"login":"nathantsoi","id":399770,"avatar_url":"https://avatars.githubusercontent.com/u/399770?v=3","gravatar_id":"","url":"https://api.github.com/users/nathantsoi","html_url":"https://github.com/nathantsoi","followers_url":"https://api.github.com/users/nathantsoi/followers","following_url":"https://api.github.com/users/nathantsoi/following{/other_user}","gists_url":"https://api.github.com/users/nathantsoi/gists{/gist_id}","starred_url":"https://api.github.com/users/nathantsoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathantsoi/subscriptions","organizations_url":"https://api.github.com/users/nathantsoi/orgs","repos_url":"https://api.github.com/users/nathantsoi/repos","events_url":"https://api.github.com/users/nathantsoi/events{/privacy}","received_events_url":"https://api.github.com/users/nathantsoi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nathantsoi/scarab-osd","description":"MWOSD development repository","fork":true,"url":"https://api.github.com/repos/nathantsoi/scarab-osd","forks_url":"https://api.github.com/repos/nathantsoi/scarab-osd/forks","keys_url":"https://api.github.com/repos/nathantsoi/scarab-osd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nathantsoi/scarab-osd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nathantsoi/scarab-osd/teams","hooks_url":"https://api.github.com/repos/nathantsoi/scarab-osd/hooks","issue_events_url":"https://api.github.com/repos/nathantsoi/scarab-osd/issues/events{/number}","events_url":"https://api.github.com/repos/nathantsoi/scarab-osd/events","assignees_url":"https://api.github.com/repos/nathantsoi/scarab-osd/assignees{/user}","branches_url":"https://api.github.com/repos/nathantsoi/scarab-osd/branches{/branch}","tags_url":"https://api.github.com/repos/nathantsoi/scarab-osd/tags","blobs_url":"https://api.github.com/repos/nathantsoi/scarab-osd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nathantsoi/scarab-osd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nathantsoi/scarab-osd/git/refs{/sha}","trees_url":"https://api.github.com/repos/nathantsoi/scarab-osd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nathantsoi/scarab-osd/statuses/{sha}","languages_url":"https://api.github.com/repos/nathantsoi/scarab-osd/languages","stargazers_url":"https://api.github.com/repos/nathantsoi/scarab-osd/stargazers","contributors_url":"https://api.github.com/repos/nathantsoi/scarab-osd/contributors","subscribers_url":"https://api.github.com/repos/nathantsoi/scarab-osd/subscribers","subscription_url":"https://api.github.com/repos/nathantsoi/scarab-osd/subscription","commits_url":"https://api.github.com/repos/nathantsoi/scarab-osd/commits{/sha}","git_commits_url":"https://api.github.com/repos/nathantsoi/scarab-osd/git/commits{/sha}","comments_url":"https://api.github.com/repos/nathantsoi/scarab-osd/comments{/number}","issue_comment_url":"https://api.github.com/repos/nathantsoi/scarab-osd/issues/comments{/number}","contents_url":"https://api.github.com/repos/nathantsoi/scarab-osd/contents/{+path}","compare_url":"https://api.github.com/repos/nathantsoi/scarab-osd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nathantsoi/scarab-osd/merges","archive_url":"https://api.github.com/repos/nathantsoi/scarab-osd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nathantsoi/scarab-osd/downloads","issues_url":"https://api.github.com/repos/nathantsoi/scarab-osd/issues{/number}","pulls_url":"https://api.github.com/repos/nathantsoi/scarab-osd/pulls{/number}","milestones_url":"https://api.github.com/repos/nathantsoi/scarab-osd/milestones{/number}","notifications_url":"https://api.github.com/repos/nathantsoi/scarab-osd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nathantsoi/scarab-osd/labels{/name}","releases_url":"https://api.github.com/repos/nathantsoi/scarab-osd/releases{/id}","deployments_url":"https://api.github.com/repos/nathantsoi/scarab-osd/deployments","created_at":"2015-12-10T04:23:43Z","updated_at":"2016-02-12T04:32:43Z","pushed_at":"2016-04-26T15:34:36Z","git_url":"git://github.com/nathantsoi/scarab-osd.git","ssh_url":"git@github.com:nathantsoi/scarab-osd.git","clone_url":"https://github.com/nathantsoi/scarab-osd.git","svn_url":"https://github.com/nathantsoi/scarab-osd","homepage":"http://www.mwosd.com","size":220319,"stargazers_count":0,"watchers_count":0,"language":"Processing","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"ShikOfTheRa:master","ref":"master","sha":"8707e2d4612c96d70d4afeeaeb55578bc8334e9f","user":{"login":"ShikOfTheRa","id":11336532,"avatar_url":"https://avatars.githubusercontent.com/u/11336532?v=3","gravatar_id":"","url":"https://api.github.com/users/ShikOfTheRa","html_url":"https://github.com/ShikOfTheRa","followers_url":"https://api.github.com/users/ShikOfTheRa/followers","following_url":"https://api.github.com/users/ShikOfTheRa/following{/other_user}","gists_url":"https://api.github.com/users/ShikOfTheRa/gists{/gist_id}","starred_url":"https://api.github.com/users/ShikOfTheRa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShikOfTheRa/subscriptions","organizations_url":"https://api.github.com/users/ShikOfTheRa/orgs","repos_url":"https://api.github.com/users/ShikOfTheRa/repos","events_url":"https://api.github.com/users/ShikOfTheRa/events{/privacy}","received_events_url":"https://api.github.com/users/ShikOfTheRa/received_events","type":"User","site_admin":false},"repo":{"id":32320252,"name":"scarab-osd","full_name":"ShikOfTheRa/scarab-osd","owner":{"login":"ShikOfTheRa","id":11336532,"avatar_url":"https://avatars.githubusercontent.com/u/11336532?v=3","gravatar_id":"","url":"https://api.github.com/users/ShikOfTheRa","html_url":"https://github.com/ShikOfTheRa","followers_url":"https://api.github.com/users/ShikOfTheRa/followers","following_url":"https://api.github.com/users/ShikOfTheRa/following{/other_user}","gists_url":"https://api.github.com/users/ShikOfTheRa/gists{/gist_id}","starred_url":"https://api.github.com/users/ShikOfTheRa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShikOfTheRa/subscriptions","organizations_url":"https://api.github.com/users/ShikOfTheRa/orgs","repos_url":"https://api.github.com/users/ShikOfTheRa/repos","events_url":"https://api.github.com/users/ShikOfTheRa/events{/privacy}","received_events_url":"https://api.github.com/users/ShikOfTheRa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ShikOfTheRa/scarab-osd","description":"MWOSD development repository","fork":false,"url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd","forks_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/forks","keys_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/teams","hooks_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/hooks","issue_events_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/issues/events{/number}","events_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/events","assignees_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/assignees{/user}","branches_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/branches{/branch}","tags_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/tags","blobs_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/git/refs{/sha}","trees_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/statuses/{sha}","languages_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/languages","stargazers_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/stargazers","contributors_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/contributors","subscribers_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/subscribers","subscription_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/subscription","commits_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/commits{/sha}","git_commits_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/git/commits{/sha}","comments_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/comments{/number}","issue_comment_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/issues/comments{/number}","contents_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/contents/{+path}","compare_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/merges","archive_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/downloads","issues_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/issues{/number}","pulls_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/pulls{/number}","milestones_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/milestones{/number}","notifications_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/labels{/name}","releases_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/releases{/id}","deployments_url":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/deployments","created_at":"2015-03-16T11:25:19Z","updated_at":"2016-04-26T07:35:23Z","pushed_at":"2016-04-26T15:13:10Z","git_url":"git://github.com/ShikOfTheRa/scarab-osd.git","ssh_url":"git@github.com:ShikOfTheRa/scarab-osd.git","clone_url":"https://github.com/ShikOfTheRa/scarab-osd.git","svn_url":"https://github.com/ShikOfTheRa/scarab-osd","homepage":"http://www.mwosd.com","size":249960,"stargazers_count":153,"watchers_count":153,"language":"Processing","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":72,"mirror_url":null,"open_issues_count":5,"forks":72,"open_issues":5,"watchers":153,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/pulls/222"},"html":{"href":"https://github.com/ShikOfTheRa/scarab-osd/pull/222"},"issue":{"href":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/issues/222"},"comments":{"href":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/ShikOfTheRa/scarab-osd/statuses/5d30941528f888ec83f5471a91d334f89fdae63c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":17,"additions":3293,"deletions":2322,"changed_files":33}}