tboxmy
Posts: 1
Joined: Sat Jun 20, 2015 3:21 am

Java ME and GPIO listen to button and read DHT11

Tue May 09, 2017 8:11 am

General Java SDK topics are plenty to go around but when it came to Java ME and GPIO programming, its very limited. Closes I can find are those in Pi4j, BlueJ and using Java to call other apps that can retrieve pin values. Currently the only way I have found for Java ME to retrieve value is to read contents at /sys/class/gpio

Read: http://elinux.org/RPi_GPIO_Code_Samples

Question: Any example for receiving push button events and reading the DHT11 values with Java ME? Any specific settings required in manifest.mf for these two?

Is WiringPi the only example to read DHT11 temperature and humidity values?

Return to “Java”

Who is online

Users browsing this forum: No registered users and 10 guests