RUVIDEO
Поделитесь видео 🙏

Pi4J and the GPIO API on Raspberry Pi with Java

In my previous video, I used Java to activate an LED on the Raspberry Pi using the Pi4J API. In this video, we'll explore the Pi4J API even more to see what else we can do with our single LED circuit.

In order to get the most out of this video, it's important to watch the video I published previously on this topic. In that video, we set up a Spring Boot project to take advantage of Spring MVC. This allows us to set up web services that we can use to test our LED from the browser. To see that video, click the link below.

LED, Java and Raspberry Pi: https://www.youtube.com/watch?v=29va8L2LMfI

I strongly encourage you to follow along on your own and write the code as you watch the video. However, if you'd like to get a jump on this exercise by downloading the code I produced in this video, you can check out the project that I'm sharing as follows on the command line using Git:

git clone https://github.com/mchandler/pi4led2.git

You can build the project with Maven as follows:

mvn package

And to start the project from the command line, be sure to navigate to the project directory and execute the following command, ensuring it runs as root:

sudo java -jar target/pi4led2...[version]...jar

In the video, we explore a very small handful of methods that are specific to the pin instance we are working with. You'll see us check the pin state, activate and deactivate the pin, and both blink and pulse the LED.

If you enjoyed this video, please LIKE and SUBSCRIBE! Thanks for watching!

Join our Facebook Community:
http://www.facebook.com/techzonk

Follow us on Twitter:
http://www.twitter.com/techzonk

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Pi4J and the GPIO API on Raspberry Pi with Java», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.