Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Toggle Potentiometer LED color with a Button on PBF4

  • intechstudio
  • 2024-04-17
  • 1123
Toggle Potentiometer LED color with a Button on PBF4
  • ok logo

Скачать Toggle Potentiometer LED color with a Button on PBF4 бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Toggle Potentiometer LED color with a Button on PBF4 или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Toggle Potentiometer LED color with a Button on PBF4 бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Toggle Potentiometer LED color with a Button on PBF4

0:00 Intro
0:27 Set the toggle
4:17 Correcting the LED init
5:37 Outro


Toggling a potentiometer's LED value with a button on the PBF4 module using global variables:

1) Open Grid Editor
2) Go to system event/init, and open the code block to initialize the tables

code to write:
l_1 = {255, 0, 0}
l_2 = {0, 255, 0}

Since they don't have prefixes, these are global variables, which means they can be accessed from any control element on the module

3) Go to a button and edit the existing code block:

code to write in the If section:
led_color(0, 1, l_1[1], l_1[2], l_1[3])
meaning:
0 - control element index (counting starts at the top left corner so 0 is the top left potentiometer)
1 - layer 1
l_1[1] - l_1 Red value
l_1[2] - l_1 Green value
l_1[3] - l_1 Blue value

code to write in the Else section:
led_color(0, 1, l_2[1], l_2[2], l_2[3])

4) To initialize the LED correctly, you have to go to the chosen potentiometer/init:
set LED values:
r - l_2[1]
g - l_2[2]
b - l_2[3]



ABOUT US
Intech Studio is a Hungarian open-source tech startup. We empower digital creatives through our modular MIDI controllers, called Grid.
https://intech.studio/

SHOP
https://intech.studio/shop

FOLLOW US
Facebook   / intechstudio  
Instagram   / intechstudio  
Tiktok   / intechstudio  

Wanna get in touch? DM us on Discord!
  / discord  

Join our Newsletter and stay updated!
https://intech.studio/community/newsl...

#MIDIcontroller #IntechStudio

Комментарии

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

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]