I am trying to use the driver but as soon as I add it in the Drivers and Assets page, I get the following error in the logs:
2018-05-09 13:22:12,062 [Component Resolve Thread (Bundle 7)] INFO o.e.k.e.d.s.SenseHatDriver - Activating SenseHat Driver...
2018-05-09 13:22:12,062 [Component Resolve Thread (Bundle 7)] INFO o.e.k.e.d.s.SenseHatDriver - Opening Sense Hat...
2018-05-09 13:22:12,133 [Component Resolve Thread (Bundle 7)] ERROR o.e.k.r.s.s.LSM9DS1 - Unable to read to I2C device
jdk.dio.UnavailableDeviceException: Locked by other application
If then, I add a new asset and configure a channel to read from the humidity sensor I get more errors. I don't have any problems with the python library.
Reviews Sign in to post reviews
Unable to write to I2C device
Submitted by Iyán Méndez Veiga on Wed, 2018-05-09 09:24
Hi,
I am trying to use the driver but as soon as I add it in the Drivers and Assets page, I get the following error in the logs:
If then, I add a new asset and configure a channel to read from the humidity sensor I get more errors. I don't have any problems with the python library.
Any ideas to solve this issue?
Thanks,
Iyán
Re: Unable to write to I2C device
Submitted by Matteo Maiero on Tue, 2018-05-15 11:56
Hi,
could you try with the Oracle VM?
There should be an issue with the OpenJDK.
Best regards,
Matteo