-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with Java and Button (GroveDigitalIn) #454
Comments
Hi, To downgrade the firmware, we just cloned this repo, then copy-pasted the firmware grove_pi_v1_2_7.cpp.hex from |
Hi @vcutrona, I didn't remember about this problem ... thank you for your workaround. Mickael |
Hi the community,
I'm trying to use Java language with GrovePI. My development is based on the Software/Java8 directory.
All sensors from the GrovePi+ Starter kit are working in Java excepted the button sensor. I obtain always the same value even if I press the button.
I know the button sensor is working because I tested it with a Python program.
Here is a snippet which uses GrovePi API (Software/Java8).
Here is a snippet where I've isolated the problem (pure PI4J).
I supposed that writeI2c with read command has a problem. Maybe, someone can test these snippets to confirm this issue?
Thx
The text was updated successfully, but these errors were encountered: