{"action":"created","issue":{"url":"https://api.github.com/repos/arduino/Arduino/issues/2403","labels_url":"https://api.github.com/repos/arduino/Arduino/issues/2403/labels{/name}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/2403/comments","events_url":"https://api.github.com/repos/arduino/Arduino/issues/2403/events","html_url":"https://github.com/arduino/Arduino/pull/2403","id":47550815,"number":2403,"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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2014-11-02T22:11:21Z","updated_at":"2015-02-19T12:27:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/arduino/Arduino/pulls/2403","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"},"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)"},"comment":{"url":"https://api.github.com/repos/arduino/Arduino/issues/comments/75043951","html_url":"https://github.com/arduino/Arduino/pull/2403#issuecomment-75043951","issue_url":"https://api.github.com/repos/arduino/Arduino/issues/2403","id":75043951,"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},"created_at":"2015-02-19T12:27:20Z","updated_at":"2015-02-19T12:27:20Z","body":"Weird, I've built it successfully on my PC... Do you have the build log?"}}