commands:reference:idigitalread
차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판이전 판다음 판 | 이전 판 | ||
| commands:reference:idigitalread [2026/09/01 22:54] – 바깥 편집 127.0.0.1 | commands:reference:idigitalread [2026/09/14 20:30] (현재) – 바깥 편집 127.0.0.1 | ||
|---|---|---|---|
| 줄 22: | 줄 22: | ||
| ===== 예제 ===== | ===== 예제 ===== | ||
| + | |||
| + | MPAINO-8A8R(T)의 입력 '' | ||
| <code cpp> | <code cpp> | ||
| - | void setup() { | + | void setup() {} |
| - | pinMode(0, INPUT); | + | |
| - | } | + | |
| void loop() { | void loop() { | ||
| - | bool input = IdigitalRead(0, | + | bool input = IdigitalRead(0, |
| if (input) { | if (input) { | ||
| 줄 44: | 줄 44: | ||
| * '' | * '' | ||
| * 이 명령어는 여러 번 즉시 읽는 방식입니다. 기계식 스위치처럼 ms 단위 채터링을 제거하려면 '' | * 이 명령어는 여러 번 즉시 읽는 방식입니다. 기계식 스위치처럼 ms 단위 채터링을 제거하려면 '' | ||
| + | |||
| + | ===== 같은 카테고리의 내장 명령어 ===== | ||
| + | |||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| [[commands: | [[commands: | ||
commands/reference/idigitalread.1788270868.txt.gz · 마지막으로 수정됨: 저자 127.0.0.1
