You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 22, 2023. It is now read-only.
Describe the problem
In the light of the previous code lines the code snippets int sensorType = event.sensor.getType();
and float currentValue = event.values[0];
should be clearly written as int sensorType = sensorEvent.sensor.getType();
and float currentValue = sensorEvent.values[0];
To allow comfortable copy-pasting without looking for the source of the error message :)