Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Grove Digital Accelerometer not working on Win 10 IoT Raspberry PI 2 #16

Open
amitchaudhary-zz opened this issue Jul 29, 2015 · 3 comments

Comments

@amitchaudhary-zz
Copy link

Environment - Raspberry PI 2
OS - Windows 10 I0T Core
Sensor - Grove - 3-Axis Digital Accelerometer(±1.5g)

On below line...
DeviceFactory.Build.AccelerometerSensor(Pin.DigitalPin3).Read()
The excpetion is thrown as...
The thread 0xbb8 has exited with code 0 (0x0).
Exception thrown: 'System.IO.FileNotFoundException' in GrovePi.dll
WinRT information: Slave address was not acknowledged.
The program '[2652] XXX.exe' has exited with code -1 (0xffffffff).

Any known issue/help?

@amitchaudhary-zz amitchaudhary-zz changed the title Grove Digital Accelerometer not working on Win 10 IoT Raspberry Grove Digital Accelerometer not working on Win 10 IoT Raspberry PI 2 Jul 29, 2015
@jan-bogaerts
Copy link
Contributor

a work-around: put the statement in a try-catch. Your application can continue ok. next reads will still work.

@amitchaudhary-zz
Copy link
Author

Try catch is already there, so exception handling is not an issue.
Point is I need to read the Accelerometer values?
And FYI the same sensor is working with Python/Raspberry environment.

@robsonj
Copy link
Owner

robsonj commented Aug 5, 2015

Let me know when you figure it out. I'll merge in the fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants