Part 1
요약·해설
NXP PCA9685를 사용하는 shield의 A4/A5 I2C 배선과 Zephyr LED PWM sample 빌드 방법을 원문 구조에 맞춰 설명합니다.
NXP PCA9685
PWM/Servo × 16
I2C · A4/A5
Arduino UNO R3
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
392EC06712AEB77B5E4C8FF307A24698E85A940C2BFED359292E709E4C919DAF
.. _adafruit_pca9685:
Adafruit 16-channel PWM/Servo Shield
####################################
Overview
********
The Adafruit 16-channel PWM/Servo shield is an Arduino
UNO R3 compatible shield based on the NXP PCA9685 IC.
More information about the shield can be found
at the `Adafruit 16-channel PWM/Servo Shield webpage`_.
Pins Assignments
================
+-----------------------+---------------------+
| Shield Connector Pin | Function |
+=======================+=====================+
| A5 | I2C - SCL1 |
+-----------------------+---------------------+
| A4 | I2C - SDA1 |
+-----------------------+---------------------+
Programming
***********
Set ``--shield adafruit_pca9685`` when you invoke ``west build``.
For example:
.. zephyr-app-commands::
:zephyr-app: samples/drivers/led_pwm
:board: nrf52840dk/nrf52840
:shield: adafruit_pca9685
:goals: build
References
**********
.. target-notes::
.. _Adafruit 16-channel PWM/Servo Shield webpage:
https://learn.adafruit.com/adafruit-16-channel-pwm-slash-servo-shield?view=all
Part 3
한국어 전문 번역
개요
Adafruit 16-channel PWM/Servo Shield는 NXP PCA9685 IC를 기반으로 한 Arduino UNO R3 호환 shield입니다.
Shield에 관한 자세한 내용은 Adafruit 16-channel PWM/Servo Shield 웹페이지에서 확인할 수 있습니다.
핀 할당
| Shield connector pin | Function |
|---|---|
| A5 | I2C - SCL1 |
| A4 | I2C - SDA1 |
A5는 첫 번째 I2C clock line인 SCL1, A4는 첫 번째 I2C data line인 SDA1에 연결됩니다.
프로그래밍
west build를 실행할 때 --shield adafruit_pca9685를 지정합니다. 다음 명령은 nRF52840 DK를 대상으로 LED PWM driver sample을 빌드합니다.
west build -b nrf52840dk/nrf52840 --shield adafruit_pca9685 samples/drivers/led_pwm
참고 자료
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.