{"action":"opened","issue":{"url":"https://api.github.com/repos/SwerveRobotics/ftc_app/issues/84","repository_url":"https://api.github.com/repos/SwerveRobotics/ftc_app","labels_url":"https://api.github.com/repos/SwerveRobotics/ftc_app/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/SwerveRobotics/ftc_app/issues/84/comments","events_url":"https://api.github.com/repos/SwerveRobotics/ftc_app/issues/84/events","html_url":"https://github.com/SwerveRobotics/ftc_app/issues/84","id":138735080,"number":84,"title":"I2c Reading Returns -1","user":{"login":"luciengaitskell","id":9143221,"avatar_url":"https://avatars.githubusercontent.com/u/9143221?v=3","gravatar_id":"","url":"https://api.github.com/users/luciengaitskell","html_url":"https://github.com/luciengaitskell","followers_url":"https://api.github.com/users/luciengaitskell/followers","following_url":"https://api.github.com/users/luciengaitskell/following{/other_user}","gists_url":"https://api.github.com/users/luciengaitskell/gists{/gist_id}","starred_url":"https://api.github.com/users/luciengaitskell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luciengaitskell/subscriptions","organizations_url":"https://api.github.com/users/luciengaitskell/orgs","repos_url":"https://api.github.com/users/luciengaitskell/repos","events_url":"https://api.github.com/users/luciengaitskell/events{/privacy}","received_events_url":"https://api.github.com/users/luciengaitskell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-05T23:51:59Z","updated_at":"2016-03-05T23:51:59Z","closed_at":null,"body":"I have tried to read two different (_Blink M LED_ and _Lidar-Lite v2_) sensors using this basic code (I have been able to read and write from them using SMBus on a raspberry pi):\r\n```\r\nII2cDeviceClient sensor = ClassFactory.createI2cDeviceClient(this, ClassFactory.createI2cDevice(hardwareMap.i2cDevice.get(\"sensor\")), i2cAddress, false);\r\nsensor.engage();\r\nLog.d(\"readValue\", \"Version Number: \" + String.valueOf(ls.read8(readAddress)));\r\nsensor.disengage();\r\nsensor.close();\r\n```\r\n\r\nYet in the log it prints:\r\n> Address:-1\r\n\r\nWriting does work. I have tried different memory addresses and nothing seems to be working."}}