commands:reference:ianalogwriteinit
차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 다음 판 | 이전 판 | ||
| commands:reference:ianalogwriteinit [2026/09/01 20:04] – 만듦 - 바깥 편집 127.0.0.1 | commands:reference:ianalogwriteinit [2026/09/14 20:30] (현재) – 바깥 편집 127.0.0.1 | ||
|---|---|---|---|
| 줄 11: | 줄 11: | ||
| ^ 명령어 ^ 인수 ^ 반환값 ^ 동작 ^ | ^ 명령어 ^ 인수 ^ 반환값 ^ 동작 ^ | ||
| | '' | | '' | ||
| + | |||
| ===== 예제 ===== | ===== 예제 ===== | ||
| + | |||
| + | MPAINO-8A8R(T)에 Y 출력 모듈을 연결하고 **Analog Output Module → Y**를 선택한 예제입니다. CH0의 출력을 0~1000 범위로 설정한 뒤 중간값을 출력합니다. | ||
| <code cpp> | <code cpp> | ||
| - | IanalogWriteInit(0, | + | void setup() { |
| + | | ||
| + | } | ||
| + | |||
| + | void loop() { | ||
| + | IanalogWrite(0, | ||
| + | delay(500); | ||
| + | } | ||
| </ | </ | ||
| 줄 26: | 줄 36: | ||
| * '' | * '' | ||
| * 고속펄스 GPIO 번호 '' | * 고속펄스 GPIO 번호 '' | ||
| + | |||
| + | ===== 같은 카테고리의 내장 명령어 ===== | ||
| + | |||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| [[commands: | [[commands: | ||
commands/reference/ianalogwriteinit.1788260661.txt.gz · 마지막으로 수정됨: 저자 127.0.0.1
