{"action":"opened","number":16,"pull_request":{"url":"https://api.github.com/repos/YPetremann/ShenzhenIO/pulls/16","id":95449827,"html_url":"https://github.com/YPetremann/ShenzhenIO/pull/16","diff_url":"https://github.com/YPetremann/ShenzhenIO/pull/16.diff","patch_url":"https://github.com/YPetremann/ShenzhenIO/pull/16.patch","issue_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/issues/16","number":16,"state":"open","locked":false,"title":"Laser Tag: 140 power","user":{"login":"twarmboe","id":992252,"avatar_url":"https://avatars.githubusercontent.com/u/992252?v=3","gravatar_id":"","url":"https://api.github.com/users/twarmboe","html_url":"https://github.com/twarmboe","followers_url":"https://api.github.com/users/twarmboe/followers","following_url":"https://api.github.com/users/twarmboe/following{/other_user}","gists_url":"https://api.github.com/users/twarmboe/gists{/gist_id}","starred_url":"https://api.github.com/users/twarmboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twarmboe/subscriptions","organizations_url":"https://api.github.com/users/twarmboe/orgs","repos_url":"https://api.github.com/users/twarmboe/repos","events_url":"https://api.github.com/users/twarmboe/events{/privacy}","received_events_url":"https://api.github.com/users/twarmboe/received_events","type":"User","site_admin":false},"body":"Solution is now: ¥14/**140**/8\r\n\r\nTaking a slightly different approach here where instead of generating our pulse we passively let it through\r\nusing an AND gate.\r\n\r\nWe also use a DX300 to turn the ammo count into a high/low signal (high for anything besides 0, values of 100+ aren't possible) to be ANDed with the trigger_and_alive signal.\r\n\r\nI'm also wiring both the fire output (negated) and the reload output into another DX300 so I can do a tcp against 10 (where 0 is firing, 10 is nop, 100 is reload). This may not actually be optimal as I suspect there's a better way to spend that precious space.\r\n\r\nThis is not the lowest known solution; there's a 122 power solution somewhere in the wild.","created_at":"2016-11-28T07:32:36Z","updated_at":"2016-11-28T07:32:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/pulls/16/commits","review_comments_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/pulls/16/comments","review_comment_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/pulls/comments{/number}","comments_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/issues/16/comments","statuses_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/statuses/6b5f57a01e389b10446ee753139443e8e0eb3f92","head":{"label":"twarmboe:laser-tag-140-power","ref":"laser-tag-140-power","sha":"6b5f57a01e389b10446ee753139443e8e0eb3f92","user":{"login":"twarmboe","id":992252,"avatar_url":"https://avatars.githubusercontent.com/u/992252?v=3","gravatar_id":"","url":"https://api.github.com/users/twarmboe","html_url":"https://github.com/twarmboe","followers_url":"https://api.github.com/users/twarmboe/followers","following_url":"https://api.github.com/users/twarmboe/following{/other_user}","gists_url":"https://api.github.com/users/twarmboe/gists{/gist_id}","starred_url":"https://api.github.com/users/twarmboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twarmboe/subscriptions","organizations_url":"https://api.github.com/users/twarmboe/orgs","repos_url":"https://api.github.com/users/twarmboe/repos","events_url":"https://api.github.com/users/twarmboe/events{/privacy}","received_events_url":"https://api.github.com/users/twarmboe/received_events","type":"User","site_admin":false},"repo":{"id":74427887,"name":"ShenzhenIO","full_name":"twarmboe/ShenzhenIO","owner":{"login":"twarmboe","id":992252,"avatar_url":"https://avatars.githubusercontent.com/u/992252?v=3","gravatar_id":"","url":"https://api.github.com/users/twarmboe","html_url":"https://github.com/twarmboe","followers_url":"https://api.github.com/users/twarmboe/followers","following_url":"https://api.github.com/users/twarmboe/following{/other_user}","gists_url":"https://api.github.com/users/twarmboe/gists{/gist_id}","starred_url":"https://api.github.com/users/twarmboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twarmboe/subscriptions","organizations_url":"https://api.github.com/users/twarmboe/orgs","repos_url":"https://api.github.com/users/twarmboe/repos","events_url":"https://api.github.com/users/twarmboe/events{/privacy}","received_events_url":"https://api.github.com/users/twarmboe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/twarmboe/ShenzhenIO","description":"ShenzhenIO Solutions as save folder","fork":true,"url":"https://api.github.com/repos/twarmboe/ShenzhenIO","forks_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/forks","keys_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/teams","hooks_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/hooks","issue_events_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/issues/events{/number}","events_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/events","assignees_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/assignees{/user}","branches_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/branches{/branch}","tags_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/tags","blobs_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/git/refs{/sha}","trees_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/statuses/{sha}","languages_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/languages","stargazers_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/stargazers","contributors_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/contributors","subscribers_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/subscribers","subscription_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/subscription","commits_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/commits{/sha}","git_commits_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/git/commits{/sha}","comments_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/comments{/number}","issue_comment_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/issues/comments{/number}","contents_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/contents/{+path}","compare_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/merges","archive_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/downloads","issues_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/issues{/number}","pulls_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/pulls{/number}","milestones_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/milestones{/number}","notifications_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/labels{/name}","releases_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/releases{/id}","deployments_url":"https://api.github.com/repos/twarmboe/ShenzhenIO/deployments","created_at":"2016-11-22T02:55:07Z","updated_at":"2016-11-21T15:11:46Z","pushed_at":"2016-11-28T07:23:42Z","git_url":"git://github.com/twarmboe/ShenzhenIO.git","ssh_url":"git@github.com:twarmboe/ShenzhenIO.git","clone_url":"https://github.com/twarmboe/ShenzhenIO.git","svn_url":"https://github.com/twarmboe/ShenzhenIO","homepage":null,"size":225,"stargazers_count":0,"watchers_count":0,"language":null,"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":"YPetremann:master","ref":"master","sha":"773e4910954bb7a584e7cbe3a30d2daa44ccdff8","user":{"login":"YPetremann","id":5413630,"avatar_url":"https://avatars.githubusercontent.com/u/5413630?v=3","gravatar_id":"","url":"https://api.github.com/users/YPetremann","html_url":"https://github.com/YPetremann","followers_url":"https://api.github.com/users/YPetremann/followers","following_url":"https://api.github.com/users/YPetremann/following{/other_user}","gists_url":"https://api.github.com/users/YPetremann/gists{/gist_id}","starred_url":"https://api.github.com/users/YPetremann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YPetremann/subscriptions","organizations_url":"https://api.github.com/users/YPetremann/orgs","repos_url":"https://api.github.com/users/YPetremann/repos","events_url":"https://api.github.com/users/YPetremann/events{/privacy}","received_events_url":"https://api.github.com/users/YPetremann/received_events","type":"User","site_admin":false},"repo":{"id":74240183,"name":"ShenzhenIO","full_name":"YPetremann/ShenzhenIO","owner":{"login":"YPetremann","id":5413630,"avatar_url":"https://avatars.githubusercontent.com/u/5413630?v=3","gravatar_id":"","url":"https://api.github.com/users/YPetremann","html_url":"https://github.com/YPetremann","followers_url":"https://api.github.com/users/YPetremann/followers","following_url":"https://api.github.com/users/YPetremann/following{/other_user}","gists_url":"https://api.github.com/users/YPetremann/gists{/gist_id}","starred_url":"https://api.github.com/users/YPetremann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YPetremann/subscriptions","organizations_url":"https://api.github.com/users/YPetremann/orgs","repos_url":"https://api.github.com/users/YPetremann/repos","events_url":"https://api.github.com/users/YPetremann/events{/privacy}","received_events_url":"https://api.github.com/users/YPetremann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YPetremann/ShenzhenIO","description":"ShenzhenIO Solutions as save folder","fork":false,"url":"https://api.github.com/repos/YPetremann/ShenzhenIO","forks_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/forks","keys_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/teams","hooks_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/hooks","issue_events_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/issues/events{/number}","events_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/events","assignees_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/assignees{/user}","branches_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/branches{/branch}","tags_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/tags","blobs_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/git/refs{/sha}","trees_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/statuses/{sha}","languages_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/languages","stargazers_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/stargazers","contributors_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/contributors","subscribers_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/subscribers","subscription_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/subscription","commits_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/commits{/sha}","git_commits_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/git/commits{/sha}","comments_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/comments{/number}","issue_comment_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/issues/comments{/number}","contents_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/contents/{+path}","compare_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/merges","archive_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/downloads","issues_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/issues{/number}","pulls_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/pulls{/number}","milestones_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/milestones{/number}","notifications_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/labels{/name}","releases_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/releases{/id}","deployments_url":"https://api.github.com/repos/YPetremann/ShenzhenIO/deployments","created_at":"2016-11-19T22:48:24Z","updated_at":"2016-11-21T15:11:46Z","pushed_at":"2016-11-28T05:15:21Z","git_url":"git://github.com/YPetremann/ShenzhenIO.git","ssh_url":"git@github.com:YPetremann/ShenzhenIO.git","clone_url":"https://github.com/YPetremann/ShenzhenIO.git","svn_url":"https://github.com/YPetremann/ShenzhenIO","homepage":null,"size":219,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/YPetremann/ShenzhenIO/pulls/16"},"html":{"href":"https://github.com/YPetremann/ShenzhenIO/pull/16"},"issue":{"href":"https://api.github.com/repos/YPetremann/ShenzhenIO/issues/16"},"comments":{"href":"https://api.github.com/repos/YPetremann/ShenzhenIO/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/YPetremann/ShenzhenIO/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/YPetremann/ShenzhenIO/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/YPetremann/ShenzhenIO/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/YPetremann/ShenzhenIO/statuses/6b5f57a01e389b10446ee753139443e8e0eb3f92"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":94,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"twarmboe"}}