{"action":"closed","number":2403,"pull_request":{"url":"https://api.github.com/repos/arduino/Arduino/pulls/2403","id":23737289,"html_url":"https://github.com/arduino/Arduino/pull/2403","diff_url":"https://github.com/arduino/Arduino/pull/2403.diff","patch_url":"https://github.com/arduino/Arduino/pull/2403.patch","issue_url":"https://api.github.com/repos/arduino/Arduino/issues/2403","number":2403,"state":"closed","locked":false,"title":"Added multi address slave","user":{"login":"Corna","id":6459604,"avatar_url":"https://avatars.githubusercontent.com/u/6459604?v=3","gravatar_id":"","url":"https://api.github.com/users/Corna","html_url":"https://github.com/Corna","followers_url":"https://api.github.com/users/Corna/followers","following_url":"https://api.github.com/users/Corna/following{/other_user}","gists_url":"https://api.github.com/users/Corna/gists{/gist_id}","starred_url":"https://api.github.com/users/Corna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Corna/subscriptions","organizations_url":"https://api.github.com/users/Corna/orgs","repos_url":"https://api.github.com/users/Corna/repos","events_url":"https://api.github.com/users/Corna/events{/privacy}","received_events_url":"https://api.github.com/users/Corna/received_events","type":"User","site_admin":false},"body":"I've removed the pullups enable in twi.c and I've moved it in Wire.cpp in order to make twi.h/twi.c usable in pure avr-libc projects\r\nI've also added the multi address slave capability; the device can now respond multiple addresses (when configured as slave), and know which one was called thanks to twi_slaveAddress (in twi.c) or TwoWire::slaveAddress (in Wire.cpp). This feature is not supported on uCs without the TWAMR (two wire address mask register), like the ATMega8, and it is disabled with an #ifdef\r\nThese boards are:\r\n - Serial Arduino\r\n - Arduino USB\r\n - Arduino Extreme\r\n - Arduino NG (first version)","created_at":"2014-11-02T22:11:21Z","updated_at":"2015-02-19T11:35:18Z","closed_at":"2015-02-19T11:35:18Z","merged_at":null,"merge_commit_sha":"70e8b703bad9477d72a6ae110de6c24069414ebd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/arduino/Arduino/pulls/2403/commits","review_comments_url":"https://api.github.com/repos/arduino/Arduino/pulls/2403/comments","review_comment_url":"https://api.github.com/repos/arduino/Arduino/pulls/comments/{number}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/2403/comments","statuses_url":"https://api.github.com/repos/arduino/Arduino/statuses/9cb152b43122f84f11bd2fe156bf67d171d0d4a3","head":{"label":"Corna:master","ref":"master","sha":"9cb152b43122f84f11bd2fe156bf67d171d0d4a3","user":{"login":"Corna","id":6459604,"avatar_url":"https://avatars.githubusercontent.com/u/6459604?v=3","gravatar_id":"","url":"https://api.github.com/users/Corna","html_url":"https://github.com/Corna","followers_url":"https://api.github.com/users/Corna/followers","following_url":"https://api.github.com/users/Corna/following{/other_user}","gists_url":"https://api.github.com/users/Corna/gists{/gist_id}","starred_url":"https://api.github.com/users/Corna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Corna/subscriptions","organizations_url":"https://api.github.com/users/Corna/orgs","repos_url":"https://api.github.com/users/Corna/repos","events_url":"https://api.github.com/users/Corna/events{/privacy}","received_events_url":"https://api.github.com/users/Corna/received_events","type":"User","site_admin":false},"repo":{"id":26066617,"name":"Arduino","full_name":"Corna/Arduino","owner":{"login":"Corna","id":6459604,"avatar_url":"https://avatars.githubusercontent.com/u/6459604?v=3","gravatar_id":"","url":"https://api.github.com/users/Corna","html_url":"https://github.com/Corna","followers_url":"https://api.github.com/users/Corna/followers","following_url":"https://api.github.com/users/Corna/following{/other_user}","gists_url":"https://api.github.com/users/Corna/gists{/gist_id}","starred_url":"https://api.github.com/users/Corna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Corna/subscriptions","organizations_url":"https://api.github.com/users/Corna/orgs","repos_url":"https://api.github.com/users/Corna/repos","events_url":"https://api.github.com/users/Corna/events{/privacy}","received_events_url":"https://api.github.com/users/Corna/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Corna/Arduino","description":"open-source electronics prototyping platform","fork":true,"url":"https://api.github.com/repos/Corna/Arduino","forks_url":"https://api.github.com/repos/Corna/Arduino/forks","keys_url":"https://api.github.com/repos/Corna/Arduino/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Corna/Arduino/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Corna/Arduino/teams","hooks_url":"https://api.github.com/repos/Corna/Arduino/hooks","issue_events_url":"https://api.github.com/repos/Corna/Arduino/issues/events{/number}","events_url":"https://api.github.com/repos/Corna/Arduino/events","assignees_url":"https://api.github.com/repos/Corna/Arduino/assignees{/user}","branches_url":"https://api.github.com/repos/Corna/Arduino/branches{/branch}","tags_url":"https://api.github.com/repos/Corna/Arduino/tags","blobs_url":"https://api.github.com/repos/Corna/Arduino/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Corna/Arduino/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Corna/Arduino/git/refs{/sha}","trees_url":"https://api.github.com/repos/Corna/Arduino/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Corna/Arduino/statuses/{sha}","languages_url":"https://api.github.com/repos/Corna/Arduino/languages","stargazers_url":"https://api.github.com/repos/Corna/Arduino/stargazers","contributors_url":"https://api.github.com/repos/Corna/Arduino/contributors","subscribers_url":"https://api.github.com/repos/Corna/Arduino/subscribers","subscription_url":"https://api.github.com/repos/Corna/Arduino/subscription","commits_url":"https://api.github.com/repos/Corna/Arduino/commits{/sha}","git_commits_url":"https://api.github.com/repos/Corna/Arduino/git/commits{/sha}","comments_url":"https://api.github.com/repos/Corna/Arduino/comments{/number}","issue_comment_url":"https://api.github.com/repos/Corna/Arduino/issues/comments/{number}","contents_url":"https://api.github.com/repos/Corna/Arduino/contents/{+path}","compare_url":"https://api.github.com/repos/Corna/Arduino/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Corna/Arduino/merges","archive_url":"https://api.github.com/repos/Corna/Arduino/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Corna/Arduino/downloads","issues_url":"https://api.github.com/repos/Corna/Arduino/issues{/number}","pulls_url":"https://api.github.com/repos/Corna/Arduino/pulls{/number}","milestones_url":"https://api.github.com/repos/Corna/Arduino/milestones{/number}","notifications_url":"https://api.github.com/repos/Corna/Arduino/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Corna/Arduino/labels{/name}","releases_url":"https://api.github.com/repos/Corna/Arduino/releases{/id}","created_at":"2014-11-01T23:45:49Z","updated_at":"2015-02-19T11:28:49Z","pushed_at":"2015-02-19T11:27:38Z","git_url":"git://github.com/Corna/Arduino.git","ssh_url":"git@github.com:Corna/Arduino.git","clone_url":"https://github.com/Corna/Arduino.git","svn_url":"https://github.com/Corna/Arduino","homepage":"http://www.arduino.cc/","size":1346526,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"arduino:master","ref":"master","sha":"bedc550b5e3e9d2559f1464cb955b5a3911a0ba0","user":{"login":"arduino","id":379109,"avatar_url":"https://avatars.githubusercontent.com/u/379109?v=3","gravatar_id":"","url":"https://api.github.com/users/arduino","html_url":"https://github.com/arduino","followers_url":"https://api.github.com/users/arduino/followers","following_url":"https://api.github.com/users/arduino/following{/other_user}","gists_url":"https://api.github.com/users/arduino/gists{/gist_id}","starred_url":"https://api.github.com/users/arduino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arduino/subscriptions","organizations_url":"https://api.github.com/users/arduino/orgs","repos_url":"https://api.github.com/users/arduino/repos","events_url":"https://api.github.com/users/arduino/events{/privacy}","received_events_url":"https://api.github.com/users/arduino/received_events","type":"Organization","site_admin":false},"repo":{"id":919161,"name":"Arduino","full_name":"arduino/Arduino","owner":{"login":"arduino","id":379109,"avatar_url":"https://avatars.githubusercontent.com/u/379109?v=3","gravatar_id":"","url":"https://api.github.com/users/arduino","html_url":"https://github.com/arduino","followers_url":"https://api.github.com/users/arduino/followers","following_url":"https://api.github.com/users/arduino/following{/other_user}","gists_url":"https://api.github.com/users/arduino/gists{/gist_id}","starred_url":"https://api.github.com/users/arduino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arduino/subscriptions","organizations_url":"https://api.github.com/users/arduino/orgs","repos_url":"https://api.github.com/users/arduino/repos","events_url":"https://api.github.com/users/arduino/events{/privacy}","received_events_url":"https://api.github.com/users/arduino/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/arduino/Arduino","description":"open-source electronics prototyping platform","fork":false,"url":"https://api.github.com/repos/arduino/Arduino","forks_url":"https://api.github.com/repos/arduino/Arduino/forks","keys_url":"https://api.github.com/repos/arduino/Arduino/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arduino/Arduino/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arduino/Arduino/teams","hooks_url":"https://api.github.com/repos/arduino/Arduino/hooks","issue_events_url":"https://api.github.com/repos/arduino/Arduino/issues/events{/number}","events_url":"https://api.github.com/repos/arduino/Arduino/events","assignees_url":"https://api.github.com/repos/arduino/Arduino/assignees{/user}","branches_url":"https://api.github.com/repos/arduino/Arduino/branches{/branch}","tags_url":"https://api.github.com/repos/arduino/Arduino/tags","blobs_url":"https://api.github.com/repos/arduino/Arduino/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arduino/Arduino/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arduino/Arduino/git/refs{/sha}","trees_url":"https://api.github.com/repos/arduino/Arduino/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arduino/Arduino/statuses/{sha}","languages_url":"https://api.github.com/repos/arduino/Arduino/languages","stargazers_url":"https://api.github.com/repos/arduino/Arduino/stargazers","contributors_url":"https://api.github.com/repos/arduino/Arduino/contributors","subscribers_url":"https://api.github.com/repos/arduino/Arduino/subscribers","subscription_url":"https://api.github.com/repos/arduino/Arduino/subscription","commits_url":"https://api.github.com/repos/arduino/Arduino/commits{/sha}","git_commits_url":"https://api.github.com/repos/arduino/Arduino/git/commits{/sha}","comments_url":"https://api.github.com/repos/arduino/Arduino/comments{/number}","issue_comment_url":"https://api.github.com/repos/arduino/Arduino/issues/comments/{number}","contents_url":"https://api.github.com/repos/arduino/Arduino/contents/{+path}","compare_url":"https://api.github.com/repos/arduino/Arduino/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arduino/Arduino/merges","archive_url":"https://api.github.com/repos/arduino/Arduino/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arduino/Arduino/downloads","issues_url":"https://api.github.com/repos/arduino/Arduino/issues{/number}","pulls_url":"https://api.github.com/repos/arduino/Arduino/pulls{/number}","milestones_url":"https://api.github.com/repos/arduino/Arduino/milestones{/number}","notifications_url":"https://api.github.com/repos/arduino/Arduino/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arduino/Arduino/labels{/name}","releases_url":"https://api.github.com/repos/arduino/Arduino/releases{/id}","created_at":"2010-09-17T19:10:36Z","updated_at":"2015-02-18T23:45:09Z","pushed_at":"2015-02-18T10:20:38Z","git_url":"git://github.com/arduino/Arduino.git","ssh_url":"git@github.com:arduino/Arduino.git","clone_url":"https://github.com/arduino/Arduino.git","svn_url":"https://github.com/arduino/Arduino","homepage":"http://www.arduino.cc/","size":2836257,"stargazers_count":3712,"watchers_count":3712,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2909,"mirror_url":null,"open_issues_count":958,"forks":2909,"open_issues":958,"watchers":3712,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/2403"},"html":{"href":"https://github.com/arduino/Arduino/pull/2403"},"issue":{"href":"https://api.github.com/repos/arduino/Arduino/issues/2403"},"comments":{"href":"https://api.github.com/repos/arduino/Arduino/issues/2403/comments"},"review_comments":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/2403/comments"},"review_comment":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/2403/commits"},"statuses":{"href":"https://api.github.com/repos/arduino/Arduino/statuses/9cb152b43122f84f11bd2fe156bf67d171d0d4a3"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":8,"review_comments":0,"commits":3,"additions":116,"deletions":11,"changed_files":5}}