{"action":"created","issue":{"url":"https://api.github.com/repos/kriswiner/MPU9250/issues/198","repository_url":"https://api.github.com/repos/kriswiner/MPU9250","labels_url":"https://api.github.com/repos/kriswiner/MPU9250/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/kriswiner/MPU9250/issues/198/comments","events_url":"https://api.github.com/repos/kriswiner/MPU9250/issues/198/events","html_url":"https://github.com/kriswiner/MPU9250/issues/198","id":270535901,"number":198,"title":"ADC Values","user":{"login":"Kimkimx","id":33307591,"avatar_url":"https://avatars0.githubusercontent.com/u/33307591?v=4","gravatar_id":"","url":"https://api.github.com/users/Kimkimx","html_url":"https://github.com/Kimkimx","followers_url":"https://api.github.com/users/Kimkimx/followers","following_url":"https://api.github.com/users/Kimkimx/following{/other_user}","gists_url":"https://api.github.com/users/Kimkimx/gists{/gist_id}","starred_url":"https://api.github.com/users/Kimkimx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kimkimx/subscriptions","organizations_url":"https://api.github.com/users/Kimkimx/orgs","repos_url":"https://api.github.com/users/Kimkimx/repos","events_url":"https://api.github.com/users/Kimkimx/events{/privacy}","received_events_url":"https://api.github.com/users/Kimkimx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-02T05:26:21Z","updated_at":"2017-11-02T06:41:57Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI'm trying to get just the adc values, but somehow the values for the accelerometer and the gyroscope are the same, and I have zeros for the magnetometer. Here is the code:\r\n\r\n#include \"MPU9250.h\"\r\n\r\nMPU9250 myIMU; \r\n\r\nvoid setup() \r\n{\r\n  Serial.begin(9600);\r\n \r\n}\r\n\r\nvoid loop() {\r\n\r\n   if (myIMU.readByte(MPU9250_ADDRESS, INT_STATUS) & 0x01)\r\n  {  \r\n    myIMU.readAccelData(myIMU.accelCount);  \r\n   \r\n    Serial.println(myIMU.accelCount[0]);\r\n    Serial.println(myIMU.accelCount[1]);\r\n    Serial.println(myIMU.accelCount[2]);\r\n    delay(500);\r\n\r\n    myIMU.readGyroData(myIMU.gyroCount);  \r\n    \r\n    Serial.println(myIMU.gyroCount[0]);\r\n    Serial.println(myIMU.gyroCount[1]);\r\n    Serial.println(myIMU.gyroCount[2]);\r\n    delay(500);\r\n\r\n    myIMU.readMagData(myIMU.magCount);  \r\n  \r\n    Serial.println(myIMU.magCount[0]);\r\n    Serial.println(myIMU.magCount[1]);\r\n    Serial.println(myIMU.magCount[2]);\r\n    delay(500);\r\n  \r\n  }\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/kriswiner/MPU9250/issues/comments/341331432","html_url":"https://github.com/kriswiner/MPU9250/issues/198#issuecomment-341331432","issue_url":"https://api.github.com/repos/kriswiner/MPU9250/issues/198","id":341331432,"user":{"login":"Kimkimx","id":33307591,"avatar_url":"https://avatars0.githubusercontent.com/u/33307591?v=4","gravatar_id":"","url":"https://api.github.com/users/Kimkimx","html_url":"https://github.com/Kimkimx","followers_url":"https://api.github.com/users/Kimkimx/followers","following_url":"https://api.github.com/users/Kimkimx/following{/other_user}","gists_url":"https://api.github.com/users/Kimkimx/gists{/gist_id}","starred_url":"https://api.github.com/users/Kimkimx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kimkimx/subscriptions","organizations_url":"https://api.github.com/users/Kimkimx/orgs","repos_url":"https://api.github.com/users/Kimkimx/repos","events_url":"https://api.github.com/users/Kimkimx/events{/privacy}","received_events_url":"https://api.github.com/users/Kimkimx/received_events","type":"User","site_admin":false},"created_at":"2017-11-02T06:41:57Z","updated_at":"2017-11-02T06:41:57Z","author_association":"NONE","body":"It said 71"}}
{"actor":{"display_login":"Kimkimx"}}