samples/drivers/led_is31fl3194/README.html · samples/drivers/led_is31fl3194/README.rst 공식 원문 ↗

Zephyr 3.7.0 · Samples · Drivers · LED

IS31FL3194 RGB LED

LED API로 색상을 바꾸고 현재 색상을 console에서 확인합니다.

Official pathsamples/drivers/led_is31fl3194/README.html
Source filesamples/drivers/led_is31fl3194/README.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

I2C devicetree 조건과 Arduino Nicla Sense ME build·flash 절차를 보존합니다.

Controller

IS31FL3194

Board

Nicla Sense ME

Bus

I2C

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 EDD7D3253E83A48ECA2708461A217E9C0A19A36B7FD0BD2C834E4375EBAC7F28
.. zephyr:code-sample:: is31fl3194
   :name: IS31FL3194 RGB LED
   :relevant-api: led_interface

   Cycle colors on an RGB LED connected to the IS31FL3194 using the LED API.

Overview
********

This sample cycles several colors on an RGB LED forever using the LED API.

Building and Running
********************

This sample can be built and executed on an Arduino Nicla Sense ME, or on
any board where the devicetree has an I2C device node with compatible
:dtcompatible:`issi,is31fl3194` enabled, along with the relevant bus
controller node also being enabled.

.. zephyr-app-commands::
   :zephyr-app: samples/drivers/led/issi_is31fl3194
   :board: arduino_nicla_sense_me
   :goals: build flash
   :compact:

After flashing, the LED starts to switch colors and messages with the current
LED color are printed on the console. If a runtime error occurs, the sample
exits without printing to the console.

Part 3

한국어 전문 번역

개요

이 sample은 LED API를 사용해 RGB LED의 여러 색상을 계속 순환합니다.

Build와 실행

이 sample은 Arduino Nicla Sense ME에서 build하고 실행할 수 있습니다. 또는 devicetree에 issi,is31fl3194 compatible의 I2C device node가 활성화되어 있고, 관련 bus controller node도 활성화된 모든 board에서 사용할 수 있습니다.

west build -b arduino_nicla_sense_me samples/drivers/led/issi_is31fl3194
west flash

Flash한 뒤 LED가 색상을 바꾸기 시작하며, 현재 LED 색상을 알리는 message가 console에 출력됩니다. Runtime error가 발생하면 sample은 console에 아무것도 출력하지 않고 종료합니다.

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.