{"action":"created","issue":{"url":"https://api.github.com/repos/espressif/arduino-esp32/issues/834","repository_url":"https://api.github.com/repos/espressif/arduino-esp32","labels_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/834/labels{/name}","comments_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/834/comments","events_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/834/events","html_url":"https://github.com/espressif/arduino-esp32/issues/834","id":273845183,"number":834,"title":"i2c Write Issue","user":{"login":"PhilColbert","id":17898944,"avatar_url":"https://avatars3.githubusercontent.com/u/17898944?v=4","gravatar_id":"","url":"https://api.github.com/users/PhilColbert","html_url":"https://github.com/PhilColbert","followers_url":"https://api.github.com/users/PhilColbert/followers","following_url":"https://api.github.com/users/PhilColbert/following{/other_user}","gists_url":"https://api.github.com/users/PhilColbert/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilColbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilColbert/subscriptions","organizations_url":"https://api.github.com/users/PhilColbert/orgs","repos_url":"https://api.github.com/users/PhilColbert/repos","events_url":"https://api.github.com/users/PhilColbert/events{/privacy}","received_events_url":"https://api.github.com/users/PhilColbert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":36,"created_at":"2017-11-14T15:59:09Z","updated_at":"2017-11-21T01:58:47Z","closed_at":null,"author_association":"NONE","body":"Attaching a ms5611 ( GY86 ) to the esp32 on i2c - works perfectly for about 5-10 minutes - some strange values do come in however it seems to work pretty well.\r\n\r\nThen loads of \r\n\r\n[E][esp32-hal-i2c.c:161] i2cWrite(): Busy Timeout! Addr: 77\r\n\r\nBoard needs to be reset to start again\r\n\r\nAny ideas?\r\n\r\nThanks\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/espressif/arduino-esp32/issues/comments/345891781","html_url":"https://github.com/espressif/arduino-esp32/issues/834#issuecomment-345891781","issue_url":"https://api.github.com/repos/espressif/arduino-esp32/issues/834","id":345891781,"user":{"login":"jlhavens","id":6707933,"avatar_url":"https://avatars1.githubusercontent.com/u/6707933?v=4","gravatar_id":"","url":"https://api.github.com/users/jlhavens","html_url":"https://github.com/jlhavens","followers_url":"https://api.github.com/users/jlhavens/followers","following_url":"https://api.github.com/users/jlhavens/following{/other_user}","gists_url":"https://api.github.com/users/jlhavens/gists{/gist_id}","starred_url":"https://api.github.com/users/jlhavens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlhavens/subscriptions","organizations_url":"https://api.github.com/users/jlhavens/orgs","repos_url":"https://api.github.com/users/jlhavens/repos","events_url":"https://api.github.com/users/jlhavens/events{/privacy}","received_events_url":"https://api.github.com/users/jlhavens/received_events","type":"User","site_admin":false},"created_at":"2017-11-21T01:58:47Z","updated_at":"2017-11-21T01:58:47Z","author_association":"NONE","body":"I agree that this apparent misreading of a particular register is baffling, especially with it reading so much other data from different registers and devices.  For me, this isn't even a device that I have a current need for.  I'm just giving your software a go on the several devices that I have in my drawer.\r\n\r\nI have been using the hal files from two days ago provided in your post with esp32-hal-i2c.zip and the Wire library that was in your repository on 11/16.\r\n\r\nI replaced the esp32-hal-i2c.cpp, esp32-hal-i2c.h and Wire library, with copies that I just downloaded from your git repository.   The following output was generated on compile:\r\n\r\nCompiling 'GY521' for 'ESP32 Dev Module'\r\nWire.cpp: In member function size_t TwoWire::transact(size_t)\r\n \r\nWire.cpp: 305:16: error: 'I2C_ERROR_MISSING_WRITE' was not declared in this scope\r\n   last_error = I2C_ERROR_MISSING_WRITE\r\nWire.cpp: In member function size_t TwoWire::transact(uint8_t*, size_t)\r\n \r\nWire.cpp: 323:16: error: 'I2C_ERROR_MISSING_WRITE' was not declared in this scope\r\n   last_error = I2C_ERROR_MISSING_WRITE\r\nError compiling libraries\r\nBuild failed for project 'GY521'\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"jlhavens"}}