{"action":"created","issue":{"url":"https://api.github.com/repos/adafruit/Adafruit_Python_GPIO/issues/48","repository_url":"https://api.github.com/repos/adafruit/Adafruit_Python_GPIO","labels_url":"https://api.github.com/repos/adafruit/Adafruit_Python_GPIO/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/adafruit/Adafruit_Python_GPIO/issues/48/comments","events_url":"https://api.github.com/repos/adafruit/Adafruit_Python_GPIO/issues/48/events","html_url":"https://github.com/adafruit/Adafruit_Python_GPIO/issues/48","id":172326392,"number":48,"title":"Adafruit_I2C.reverseByteOrder() in Adafruit_I2C.py is broken","user":{"login":"pdp7","id":313864,"avatar_url":"https://avatars2.githubusercontent.com/u/313864?v=4","gravatar_id":"","url":"https://api.github.com/users/pdp7","html_url":"https://github.com/pdp7","followers_url":"https://api.github.com/users/pdp7/followers","following_url":"https://api.github.com/users/pdp7/following{/other_user}","gists_url":"https://api.github.com/users/pdp7/gists{/gist_id}","starred_url":"https://api.github.com/users/pdp7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdp7/subscriptions","organizations_url":"https://api.github.com/users/pdp7/orgs","repos_url":"https://api.github.com/users/pdp7/repos","events_url":"https://api.github.com/users/pdp7/events{/privacy}","received_events_url":"https://api.github.com/users/pdp7/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-21T15:35:43Z","updated_at":"2017-08-24T05:47:50Z","closed_at":"2017-08-23T07:39:52Z","body":"@tdicola: this issue for `Adafruit_I2C.reverseByteOrder()` in `adafruit-beaglebone-io-python` was raised by @phrogger:\nhttps://github.com/adafruit/adafruit-beaglebone-io-python/issues/82\n\n> The method Adafruit_I2C.reverseByteOrder() in Adafruit_I2C.py does not work. \n> \n> It tries to automatically detect the presence of a 16 bit or 32 bit value by detecting the first byte containing non-zero bits. This fails whenever there are valid leading bytes containing zeros.\n\n@jwcooper commented in [adafruit-beaglebone-io-python/Adafruit_I2C.py](https://github.com/adafruit/adafruit-beaglebone-io-python/blob/master/Adafruit_I2C.py#L8):\n\n> Adafruit_I2C.py is essentially a fork of the Adafruit Raspberry Pi I2C module. Any pull requests for this module should be directed to the following, and I can pull them. I'd rather not deviate from the original: https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code/tree/master/Adafruit_I2C\n\nHowever, `Adafruit_I2C` now resides in this repo. `reverseByteOrder()` is located in [Adafruit_GPIO/I2C.py](https://github.com/adafruit/Adafruit_Python_GPIO/blob/master/Adafruit_GPIO/I2C.py#L28)\n"},"comment":{"url":"https://api.github.com/repos/adafruit/Adafruit_Python_GPIO/issues/comments/324539419","html_url":"https://github.com/adafruit/Adafruit_Python_GPIO/issues/48#issuecomment-324539419","issue_url":"https://api.github.com/repos/adafruit/Adafruit_Python_GPIO/issues/48","id":324539419,"user":{"login":"pdp7","id":313864,"avatar_url":"https://avatars2.githubusercontent.com/u/313864?v=4","gravatar_id":"","url":"https://api.github.com/users/pdp7","html_url":"https://github.com/pdp7","followers_url":"https://api.github.com/users/pdp7/followers","following_url":"https://api.github.com/users/pdp7/following{/other_user}","gists_url":"https://api.github.com/users/pdp7/gists{/gist_id}","starred_url":"https://api.github.com/users/pdp7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdp7/subscriptions","organizations_url":"https://api.github.com/users/pdp7/orgs","repos_url":"https://api.github.com/users/pdp7/repos","events_url":"https://api.github.com/users/pdp7/events{/privacy}","received_events_url":"https://api.github.com/users/pdp7/received_events","type":"User","site_admin":false},"created_at":"2017-08-24T05:47:50Z","updated_at":"2017-08-24T05:47:50Z","body":"@tdicola thanks for handling this issue"}}
{"actor":{"display_login":"pdp7"}}