{"action":"created","issue":{"url":"https://api.github.com/repos/mjs513/FreeIMU-Updates/issues/38","labels_url":"https://api.github.com/repos/mjs513/FreeIMU-Updates/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/mjs513/FreeIMU-Updates/issues/38/comments","events_url":"https://api.github.com/repos/mjs513/FreeIMU-Updates/issues/38/events","html_url":"https://github.com/mjs513/FreeIMU-Updates/issues/38","id":109712034,"number":38,"title":"Compile error : accgyro_addr","user":{"login":"sbishop61","id":9515196,"avatar_url":"https://avatars.githubusercontent.com/u/9515196?v=3","gravatar_id":"","url":"https://api.github.com/users/sbishop61","html_url":"https://github.com/sbishop61","followers_url":"https://api.github.com/users/sbishop61/followers","following_url":"https://api.github.com/users/sbishop61/following{/other_user}","gists_url":"https://api.github.com/users/sbishop61/gists{/gist_id}","starred_url":"https://api.github.com/users/sbishop61/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbishop61/subscriptions","organizations_url":"https://api.github.com/users/sbishop61/orgs","repos_url":"https://api.github.com/users/sbishop61/repos","events_url":"https://api.github.com/users/sbishop61/events{/privacy}","received_events_url":"https://api.github.com/users/sbishop61/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-04T23:20:14Z","updated_at":"2015-10-05T00:57:45Z","closed_at":"2015-10-05T00:57:45Z","body":"I am using a GY-86 equivalent to a FREEIMU_v04 (which is what I have set in FreeIMU.h)\r\nUsing an earlier version of the libraries and 1.5.7 all good.\r\nWith 1.6.5 and the latest version I get compile errors even after deleting the MotionDriver directory.\r\nAny ideas?\r\nThanks\r\n\r\nC:\\Users\\Stephen\\Documents\\Arduino 1.6.5 FreeIMU\\libraries\\FreeIMU\\FreeIMU.cpp: In member function 'void FreeIMU::init0(bool)':\r\nC:\\Users\\Stephen\\Documents\\Arduino 1.6.5 FreeIMU\\libraries\\FreeIMU\\FreeIMU.cpp:635:27: error: 'accgyro_addr' was not declared in this scope\r\n  accgyro = MPU60X0(false, accgyro_addr);\r\n                           ^\r\nC:\\Users\\Stephen\\Documents\\Arduino 1.6.5 FreeIMU\\libraries\\FreeIMU\\FreeIMU.cpp:694:20: error: 'lsm' was not declared in this scope\r\n  uint16_t status = lsm.begin(lsm.G_SCALE_2000DPS, lsm.A_SCALE_2G );\r\n                    ^\r\nC:\\Users\\Stephen\\Documents\\Arduino 1.6.5 FreeIMU\\libraries\\FreeIMU\\FreeIMU.cpp: In member function 'void FreeIMU::getRawValues(int*)':\r\nC:\\Users\\Stephen\\Documents\\Arduino 1.6.5 FreeIMU\\libraries\\FreeIMU\\FreeIMU.cpp:971:2: error: 'lsm' was not declared in this scope\r\n  lsm.readAccel();\r\n  ^\r\nC:\\Users\\Stephen\\Documents\\Arduino 1.6.5 FreeIMU\\libraries\\FreeIMU\\FreeIMU.cpp: In member function 'void FreeIMU::getValues(float*)':\r\nC:\\Users\\Stephen\\Documents\\Arduino 1.6.5 FreeIMU\\libraries\\FreeIMU\\FreeIMU.cpp:1049:2: error: 'lsm' was not declared in this scope\r\n  lsm.readAccel();"},"comment":{"url":"https://api.github.com/repos/mjs513/FreeIMU-Updates/issues/comments/145406524","html_url":"https://github.com/mjs513/FreeIMU-Updates/issues/38#issuecomment-145406524","issue_url":"https://api.github.com/repos/mjs513/FreeIMU-Updates/issues/38","id":145406524,"user":{"login":"sbishop61","id":9515196,"avatar_url":"https://avatars.githubusercontent.com/u/9515196?v=3","gravatar_id":"","url":"https://api.github.com/users/sbishop61","html_url":"https://github.com/sbishop61","followers_url":"https://api.github.com/users/sbishop61/followers","following_url":"https://api.github.com/users/sbishop61/following{/other_user}","gists_url":"https://api.github.com/users/sbishop61/gists{/gist_id}","starred_url":"https://api.github.com/users/sbishop61/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbishop61/subscriptions","organizations_url":"https://api.github.com/users/sbishop61/orgs","repos_url":"https://api.github.com/users/sbishop61/repos","events_url":"https://api.github.com/users/sbishop61/events{/privacy}","received_events_url":"https://api.github.com/users/sbishop61/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T00:57:45Z","updated_at":"2015-10-05T00:57:45Z","body":"Mike,\r\n thanks - it was the lsm9ds0 define that I had missed.\r\nIt compiled as soon as I commented out that define.\r\nThanks again."}}