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

Zephyr 3.7.0 · Samples · Drivers · LED

LP3943 RGBW LED

1초 간격으로 모두 켠 뒤 역순으로 끕니다.

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

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

Part 1

요약·해설

96Boards NeonKey build와 serial 출력까지 보존합니다.

LEDs

16

Board

96b_neonkey

Interval

1초

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 C3BDCBC9E571986603F90ABAAB89AA5C19E3741647209C001160D4AA59DE06C7
.. zephyr:code-sample:: lp3943
   :name: LP3943 RGBW LED
   :relevant-api: led_interface

   Control up to 16 RGBW LEDs connected to an LP3943 driver chip.

Overview
********

This sample controls 16 LEDs connected to an LP3943 driver, in
a continuous pattern of turning them on one at a time (at a one
second interval) until they're all on, and then turning them off in
reverse order.

Requirements
************

The :ref:`96b_neonkey` board has an LP3943 driver and 16 LEDs on board,
so we'll use this board for our example.

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

Build the application for the :ref:`96b_neonkey` board, which has an
LP3943 driver included.

.. zephyr-app-commands::
   :zephyr-app: samples/drivers/led_lp3943
   :board: 96b_neonkey
   :goals: build
   :compact:

For flashing the application, refer to the Flashing section of the
:ref:`96b_neonkey` board documentation.

When you connect to the board's serial console, you should see the
following output in addition to the LED pattern:

.. code-block:: none

   ***** BOOTING ZEPHYR OS v1.11.99 *****
   [general] [INF] main: Found LED device LP3943
   [general] [INF] main: Displaying the pattern

References
**********

- LP3943: http://www.ti.com/lit/ds/snvs256d/snvs256d.pdf

Part 3

한국어 전문 번역

개요

이 sample은 LP3943 driver에 연결된 LED 16개를 제어합니다. 1초 간격으로 LED를 하나씩 켜서 모두 켜질 때까지 진행한 다음, 역순으로 하나씩 끄는 pattern을 계속 반복합니다.

요구 사항

96b_neonkey board에는 LP3943 driver와 LED 16개가 내장되어 있으므로 이 board를 예제로 사용합니다.

Build와 실행

LP3943 driver가 포함된 96b_neonkey board용 application을 build합니다.

west build -b 96b_neonkey samples/drivers/led_lp3943

Application을 flash하는 방법은 96b_neonkey board 문서의 Flashing 절을 참조하십시오.

Board의 serial console에 연결하면 LED pattern과 함께 다음 출력이 나타납니다.

***** BOOTING ZEPHYR OS v1.11.99 *****
[general] [INF] main: Found LED device LP3943
[general] [INF] main: Displaying the pattern

참고 자료

Source

출처

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