{"action":"created","issue":{"url":"https://api.github.com/repos/rwaldron/johnny-five/issues/606","labels_url":"https://api.github.com/repos/rwaldron/johnny-five/issues/606/labels{/name}","comments_url":"https://api.github.com/repos/rwaldron/johnny-five/issues/606/comments","events_url":"https://api.github.com/repos/rwaldron/johnny-five/issues/606/events","html_url":"https://github.com/rwaldron/johnny-five/issues/606","id":55924328,"number":606,"title":"support for RTC (real-time clock)","user":{"login":"boneskull","id":924465,"avatar_url":"https://avatars.githubusercontent.com/u/924465?v=3","gravatar_id":"","url":"https://api.github.com/users/boneskull","html_url":"https://github.com/boneskull","followers_url":"https://api.github.com/users/boneskull/followers","following_url":"https://api.github.com/users/boneskull/following{/other_user}","gists_url":"https://api.github.com/users/boneskull/gists{/gist_id}","starred_url":"https://api.github.com/users/boneskull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boneskull/subscriptions","organizations_url":"https://api.github.com/users/boneskull/orgs","repos_url":"https://api.github.com/users/boneskull/repos","events_url":"https://api.github.com/users/boneskull/events{/privacy}","received_events_url":"https://api.github.com/users/boneskull/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-01-29T16:46:31Z","updated_at":"2015-01-29T19:21:52Z","closed_at":"2015-01-29T19:05:32Z","body":"A popular (I think?) RTC chip is the DS1307.  It's included in many (several? some?) data logger shields.\n\nI'm working on support for interfacing w/ the DS1307 directly, but this is my first encounter with I2C, and I am having trouble translating the Arduino library (`Wire` calls) to the J5 equivalent.  Any general tips would be helpful here, since the docs seem kind of slim in this area unless I missed something.\n\nI *think* the implementation should be a `Controller` in a new `RTC` (or `Clock` perhaps) class, maybe even the `DEFAULT` one.  I imagine tests, docs, and a trivial example are expected.\n\nIs there anything else I need to know?"},"comment":{"url":"https://api.github.com/repos/rwaldron/johnny-five/issues/comments/72086614","html_url":"https://github.com/rwaldron/johnny-five/issues/606#issuecomment-72086614","issue_url":"https://api.github.com/repos/rwaldron/johnny-five/issues/606","id":72086614,"user":{"login":"rwaldron","id":27985,"avatar_url":"https://avatars.githubusercontent.com/u/27985?v=3","gravatar_id":"","url":"https://api.github.com/users/rwaldron","html_url":"https://github.com/rwaldron","followers_url":"https://api.github.com/users/rwaldron/followers","following_url":"https://api.github.com/users/rwaldron/following{/other_user}","gists_url":"https://api.github.com/users/rwaldron/gists{/gist_id}","starred_url":"https://api.github.com/users/rwaldron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwaldron/subscriptions","organizations_url":"https://api.github.com/users/rwaldron/orgs","repos_url":"https://api.github.com/users/rwaldron/repos","events_url":"https://api.github.com/users/rwaldron/events{/privacy}","received_events_url":"https://api.github.com/users/rwaldron/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T19:21:52Z","updated_at":"2015-01-29T19:21:52Z","body":"j/k, I got this one: http://www.amazon.com/Real-Time-Clock-Module-DS1307/dp/B00BLC3C2Y"}}