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

Zephyr 3.7.0 · Samples · Drivers · LED

LP5562 RGB LED

여덟 색상과 흰색·보라색 blink를 순서대로 실행합니다.

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

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

Part 1

요약·해설

13단계 pattern, I2C0 주소 0x30과 nRF52840 DK build를 보존합니다.

LEDs

4

Steps

13

Address

0x30

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 86BC1BF734687C54C3D45EB7F0CC7195D49E9D5214BB7BAA6EA0D99E4B2F47DB
.. zephyr:code-sample:: lp5562
   :name: LP5562 RGB LED
   :relevant-api: led_interface

   Control 4 RGB LEDs connected to an LP5562 driver chip.

Overview
********

This sample controls 4 LEDs connected to a TI LP5562 driver, using the
following pattern:

 1. turn on LEDs to be red
 2. turn on LEDs to be green
 3. turn on LEDs to be blue
 4. turn on LEDs to be white
 5. turn on LEDs to be yellow
 6. turn on LEDs to be purple
 7. turn on LEDs to be cyan
 8. turn on LEDs to be orange
 9. turn off LEDs
 10. blink the LEDs in white
 11. turn off LEDs
 12. blink the LEDs in purple
 13. turn off LEDs

Refer to the `LP5562 Manual`_ for the RGB LED connections and color channel
mappings used by this sample.

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

Build the application for the :ref:`nrf52840dk_nrf52840` board, and connect
a LP5562 LED driver on the bus I2C0 at the address 0x30.

.. zephyr-app-commands::
   :zephyr-app: samples/drivers/led_lp5562
   :board: nrf52840dk/nrf52840
   :goals: build
   :compact:

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

.. _LP5562 Manual: http://www.ti.com/lit/ds/symlink/lp5562.pdf

Part 3

한국어 전문 번역

개요

이 sample은 TI LP5562 driver에 연결된 LED 4개를 다음 pattern으로 제어합니다.

  1. LED를 빨간색으로 켭니다.
  2. LED를 초록색으로 켭니다.
  3. LED를 파란색으로 켭니다.
  4. LED를 흰색으로 켭니다.
  5. LED를 노란색으로 켭니다.
  6. LED를 보라색으로 켭니다.
  7. LED를 청록색으로 켭니다.
  8. LED를 주황색으로 켭니다.
  9. LED를 끕니다.
  10. LED를 흰색으로 blink합니다.
  11. LED를 끕니다.
  12. LED를 보라색으로 blink합니다.
  13. LED를 끕니다.

이 sample에서 사용하는 RGB LED 연결과 color channel mapping은 LP5562 Manual을 참조하십시오.

Build와 실행

nrf52840dk/nrf52840 board용 application을 build하고 LP5562 LED driver를 주소 0x30으로 I2C0 bus에 연결합니다.

west build -b nrf52840dk/nrf52840 samples/drivers/led_lp5562

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

Source

출처

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