Throughout my Java SE and Raspberry Pi tutorials, I have kept the coding at the highest possible level in order to keep things as simple as possible. All along I knew that at some point I would have to use Java Native code to communicate at a very low level with the GPIO. I need to use PWM (Pulse Width Modulation) to control the speed of the motor on the Land Cruiser. The Raspberry Pi only has one hardware PWM pin and I am using that one to control the steering, so I will need to use the C pigpio library to produce another PWM signal to control the Electronic Speed Controller (ESC) for the motor. I will go over the pigpio library in a future tutorial. Java SE 8 comes preinstalled on the Raspberry Pi 3, but it is missing several key components of the JNI - so we will need to download and install it.
On this page of the site you can watch the video online Java and Raspberry Pi Programming - Installing Java Native Interface (JNI) with a duration of hours minute second in good quality, which was uploaded by the user Daniel Ross 22 January 2017, share the link with friends and acquaintances, this video has already been watched 1,912 times on youtube and it was liked by 17 viewers. Enjoy your viewing!