{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2296","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2296/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2296/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2296/events","html_url":"https://github.com/RIOT-OS/RIOT/pull/2296","id":54230866,"number":2296,"title":"LIS3DH accelerometer driver","user":{"login":"gebart","id":317506,"avatar_url":"https://avatars.githubusercontent.com/u/317506?v=3","gravatar_id":"","url":"https://api.github.com/users/gebart","html_url":"https://github.com/gebart","followers_url":"https://api.github.com/users/gebart/followers","following_url":"https://api.github.com/users/gebart/following{/other_user}","gists_url":"https://api.github.com/users/gebart/gists{/gist_id}","starred_url":"https://api.github.com/users/gebart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebart/subscriptions","organizations_url":"https://api.github.com/users/gebart/orgs","repos_url":"https://api.github.com/users/gebart/repos","events_url":"https://api.github.com/users/gebart/events{/privacy}","received_events_url":"https://api.github.com/users/gebart/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/Device+driver","name":"Device driver","color":"0052cc"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/NEEDS+SQUASHING","name":"NEEDS SQUASHING","color":"009800"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/new+feature","name":"new feature","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"PeterKietzmann","id":7765855,"avatar_url":"https://avatars.githubusercontent.com/u/7765855?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterKietzmann","html_url":"https://github.com/PeterKietzmann","followers_url":"https://api.github.com/users/PeterKietzmann/followers","following_url":"https://api.github.com/users/PeterKietzmann/following{/other_user}","gists_url":"https://api.github.com/users/PeterKietzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterKietzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterKietzmann/subscriptions","organizations_url":"https://api.github.com/users/PeterKietzmann/orgs","repos_url":"https://api.github.com/users/PeterKietzmann/repos","events_url":"https://api.github.com/users/PeterKietzmann/events{/privacy}","received_events_url":"https://api.github.com/users/PeterKietzmann/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-01-13T18:42:01Z","updated_at":"2015-01-20T12:46:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2296","html_url":"https://github.com/RIOT-OS/RIOT/pull/2296","diff_url":"https://github.com/RIOT-OS/RIOT/pull/2296.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/2296.patch"},"body":"I wrote a driver for the ST Micro LIS3DH accelerometer. It only provides basic functionality of the sensor. \r\nPolling in streaming or FIFO modes. No interrupts (INT1, INT2).\r\n\r\nThe sensor name is LIS3DH MEMS digital output motion sensor ultra low-power high performance 3-axes \"nano\" accelerometer\r\n\r\nManufacturer website: http://www.st.com/web/catalog/sense_power/FM89/SC444/PF250725\r\nData sheet: http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00274221.pdf\r\n\r\nI have executed the test application on my Mulle board and it works there.\r\n\r\nI based the structure of the driver and the test application on the design of the L3G4200 gyroscope driver."},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/70648134","html_url":"https://github.com/RIOT-OS/RIOT/pull/2296#issuecomment-70648134","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2296","id":70648134,"user":{"login":"gebart","id":317506,"avatar_url":"https://avatars.githubusercontent.com/u/317506?v=3","gravatar_id":"","url":"https://api.github.com/users/gebart","html_url":"https://github.com/gebart","followers_url":"https://api.github.com/users/gebart/followers","following_url":"https://api.github.com/users/gebart/following{/other_user}","gists_url":"https://api.github.com/users/gebart/gists{/gist_id}","starred_url":"https://api.github.com/users/gebart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebart/subscriptions","organizations_url":"https://api.github.com/users/gebart/orgs","repos_url":"https://api.github.com/users/gebart/repos","events_url":"https://api.github.com/users/gebart/events{/privacy}","received_events_url":"https://api.github.com/users/gebart/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T12:46:40Z","updated_at":"2015-01-20T12:46:40Z","body":"@PeterKietzmann I have refactored to use `int16_t scale` in the driver struct for caching the scale factor.\r\n\r\nSquash and go?"}}