フィルターのクリア

RGB LED control help

10 ビュー (過去 30 日間)
Madison Gladstone
Madison Gladstone 2020 年 3 月 5 日
回答済み: Pranav Murali 2020 年 3 月 19 日
I am using an RGB LED strip with three wires (ground, 5v, and digital). I want to program the LED so that when a certain button is pushed a certian color will be lit up. However, I do not know what code I need to change colors and turn on/off the LED. I am using an Arduino UNO to power the breadbaord. Any help would be great!

回答 (1 件)

Pranav Murali
Pranav Murali 2020 年 3 月 19 日
Hi Madison,
I understand that you are trying to control a digital RGB led strip based on the input from switches using the Arduino UNO. MATLAB has an Add-On Library for Arduino to control NeoPixel RGB LED strips.
It can be found in the link below:
If you are looking references and examples, then the following should help:

カテゴリ

Help Center および File ExchangeInstrument Control Toolbox についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by