{"action":"created","issue":{"url":"https://api.github.com/repos/contiki-os/contiki/issues/677","labels_url":"https://api.github.com/repos/contiki-os/contiki/issues/677/labels{/name}","comments_url":"https://api.github.com/repos/contiki-os/contiki/issues/677/comments","events_url":"https://api.github.com/repos/contiki-os/contiki/issues/677/events","html_url":"https://github.com/contiki-os/contiki/pull/677","id":33490665,"number":677,"title":"Add I2C library and example for CC2538 ","user":{"login":"medmig","id":4955508,"avatar_url":"https://avatars.githubusercontent.com/u/4955508?v=3","gravatar_id":"","url":"https://api.github.com/users/medmig","html_url":"https://github.com/medmig","followers_url":"https://api.github.com/users/medmig/followers","following_url":"https://api.github.com/users/medmig/following{/other_user}","gists_url":"https://api.github.com/users/medmig/gists{/gist_id}","starred_url":"https://api.github.com/users/medmig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/medmig/subscriptions","organizations_url":"https://api.github.com/users/medmig/orgs","repos_url":"https://api.github.com/users/medmig/repos","events_url":"https://api.github.com/users/medmig/events{/privacy}","received_events_url":"https://api.github.com/users/medmig/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/contiki-os/contiki/labels/Platform%20/%20CPU","name":"Platform / CPU","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"g-oikonomou","id":705207,"avatar_url":"https://avatars.githubusercontent.com/u/705207?v=3","gravatar_id":"","url":"https://api.github.com/users/g-oikonomou","html_url":"https://github.com/g-oikonomou","followers_url":"https://api.github.com/users/g-oikonomou/followers","following_url":"https://api.github.com/users/g-oikonomou/following{/other_user}","gists_url":"https://api.github.com/users/g-oikonomou/gists{/gist_id}","starred_url":"https://api.github.com/users/g-oikonomou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g-oikonomou/subscriptions","organizations_url":"https://api.github.com/users/g-oikonomou/orgs","repos_url":"https://api.github.com/users/g-oikonomou/repos","events_url":"https://api.github.com/users/g-oikonomou/events{/privacy}","received_events_url":"https://api.github.com/users/g-oikonomou/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2014-05-14T13:16:30Z","updated_at":"2015-02-12T17:43:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/contiki-os/contiki/pulls/677","html_url":"https://github.com/contiki-os/contiki/pull/677","diff_url":"https://github.com/contiki-os/contiki/pull/677.diff","patch_url":"https://github.com/contiki-os/contiki/pull/677.patch"},"body":"Add one header file and one implementation file to use the I2C peripheral of the CC2538 platform.\r\nAdd a line in the CC2538 makefile to include the I2C library for compilation.\r\nAlso add an example to use the I2C library with two different sensors (TCN75 from Microchip and SHT21 from Texas Instruments).\r\n\r\nThis adaptation of I2C library was made by Mehdi Migault for the 4MOD Technology company, as part of an internship with the IT department of the \"Institut Universitaire et Technologique\" in La Rochelle.\r\nParts of the sources come from Contiki and Texas Instruments.\r\n\r\nIt include an example for the I2C library that work with two different I2C sensors, the TCN75 from Microchip and the SHT21 from Texas Instruments. It measure temperature and send the value over the serial port."},"comment":{"url":"https://api.github.com/repos/contiki-os/contiki/issues/comments/74116473","html_url":"https://github.com/contiki-os/contiki/pull/677#issuecomment-74116473","issue_url":"https://api.github.com/repos/contiki-os/contiki/issues/677","id":74116473,"user":{"login":"g-oikonomou","id":705207,"avatar_url":"https://avatars.githubusercontent.com/u/705207?v=3","gravatar_id":"","url":"https://api.github.com/users/g-oikonomou","html_url":"https://github.com/g-oikonomou","followers_url":"https://api.github.com/users/g-oikonomou/followers","following_url":"https://api.github.com/users/g-oikonomou/following{/other_user}","gists_url":"https://api.github.com/users/g-oikonomou/gists{/gist_id}","starred_url":"https://api.github.com/users/g-oikonomou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g-oikonomou/subscriptions","organizations_url":"https://api.github.com/users/g-oikonomou/orgs","repos_url":"https://api.github.com/users/g-oikonomou/repos","events_url":"https://api.github.com/users/g-oikonomou/events{/privacy}","received_events_url":"https://api.github.com/users/g-oikonomou/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T17:43:51Z","updated_at":"2015-02-12T17:43:51Z","body":"Hi, @medmig. We're looking at this now and it seems to work fine. We'll probably open a new PR based on this one since you are not working on this.\r\n\r\nI see there is no license header in the .c file. Can you confirm that you're happy for this to be 3-clause BSD?\r\n"}}