Java and Raspberry Pi Programming - Installing Java Native Interface (JNI)

Описание к видео Java and Raspberry Pi Programming - Installing Java Native Interface (JNI)

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.

Комментарии

Информация по комментариям в разработке