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

Pubblicato il: 22 gennaio 2017
sul canale di: Daniel Ross
1,912
17

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.


In questa pagina del sito puoi guardare il video online Java and Raspberry Pi Programming - Installing Java Native Interface (JNI) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Daniel Ross 22 gennaio 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,912 volte e gli è piaciuto 17 spettatori. Buona visione!