{"comment":{"url":"https://api.github.com/repos/intel-iot-devkit/upm/comments/12877239","html_url":"https://github.com/intel-iot-devkit/upm/commit/c34939cfb4cc60f46f2a4fcc6b2c51ead022f6c9#commitcomment-12877239","id":12877239,"user":{"login":"David-JaeHyuk","id":13211374,"avatar_url":"https://avatars.githubusercontent.com/u/13211374?v=3","gravatar_id":"","url":"https://api.github.com/users/David-JaeHyuk","html_url":"https://github.com/David-JaeHyuk","followers_url":"https://api.github.com/users/David-JaeHyuk/followers","following_url":"https://api.github.com/users/David-JaeHyuk/following{/other_user}","gists_url":"https://api.github.com/users/David-JaeHyuk/gists{/gist_id}","starred_url":"https://api.github.com/users/David-JaeHyuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/David-JaeHyuk/subscriptions","organizations_url":"https://api.github.com/users/David-JaeHyuk/orgs","repos_url":"https://api.github.com/users/David-JaeHyuk/repos","events_url":"https://api.github.com/users/David-JaeHyuk/events{/privacy}","received_events_url":"https://api.github.com/users/David-JaeHyuk/received_events","type":"User","site_admin":false},"position":83,"line":83,"path":"examples/mpl3115a2.cxx","commit_id":"c34939cfb4cc60f46f2a4fcc6b2c51ead022f6c9","created_at":"2015-08-25T11:27:58Z","updated_at":"2015-08-25T11:27:58Z","body":"Hi. I am using your code. first above all, thank you for sharing your code. I have some question about your code.\r\n\r\nI'm using intel edison and spark-fun's MPL3115A2 : https://www.sparkfun.com/products/11084\r\n\r\nAnd I connect this sensor to sparkfun's I2C breakout block(https://www.sparkfun.com/products/13034) for connecting intel edison.\r\n\r\nand now I get test code from here : https://software.intel.com/en-us/iot/hardware/sensors/mpl3115a2-atmospheric-pressure-sensor\r\n\r\nwhen I comfile upper code, I can get some message and values but it is a little weird like this :\r\n-------------------------------------------\r\nIncorrect device id - read: 0x00\r\nExecuting Sensor Test.\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\nWrite to trigger measurement failed\r\nWrite to trigger measurement failed\r\nError sampling pressure\r\n  Warning - sensor values not changing.\r\nWrite to trigger measurement failed\r\nError sampling temperature\r\npressure value = 0, altitude value = 44330, sealevel value = 0, temperature = -1\r\nWrite to trigger measurement failed\r\nError sampling temperature\r\npressure value = 0, altitude value = 44330, sealevel value = 0, temperature = -1\r\nWrite to trigger measurement failed\r\nError sampling temperature\r\npressure value = 0, altitude value = 44330, sealevel value = 0, temperature = -1\r\nWrite to trigger measurement failed\r\nError sampling temperature\r\npressure value = 0, altitude value = 44330, sealevel value = 0, temperature = -1\r\nWrite to trigger measurement failed\r\nError sampling temperature\r\npressure value = 0, altitude value = 44330, sealevel value = 0, temperature = -1\r\nWrite to trigger measurement failed\r\nError sampling temperature\r\npressure value = 0, altitude value = 44330, sealevel value = 0, temperature = -1\r\nWrite to trigger measurement failed\r\nError sampling temperature\r\npressure value = 0, altitude value = 44330, sealevel value = 0, temperature = -1\r\nWrite to trigger measurement failed\r\nError sampling temperature\r\n-------------------------------------------\r\n\r\nShould I check some part of your code? \r\n\r\nactually I am really beginner for C code.. Please give me any help.\r\n\r\nThank you in advance.\r\n\r\nRegard.\r\n\r\nJaeHyuk"}}