Java and Raspberry Pi Programming - JNI, C++, and pigpio control Steering

Опубликовано: 15 Октябрь 2024
на канале: Daniel Ross
921
17

In this tutorial I will demonstrate how to use some simple functionality of the pigpio library to control our steering servo on GPIO pin 23. GPIO pin 23 is not a pulse width modulation (PWM) pin, but using the pigpio library we can control the servo very accurately. I will be using Java Native Interface (JNI) along with C++ to control the servo. Let's get started.