commands:reference:ipidset
차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
| commands:reference:ipidset [2026/09/01 20:04] – 만듦 - 바깥 편집 127.0.0.1 | commands:reference:ipidset [2026/09/08 00:53] (현재) – 바깥 편집 127.0.0.1 | ||
|---|---|---|---|
| 줄 11: | 줄 11: | ||
| ^ 명령어 ^ 인수 ^ 반환값 ^ 동작 ^ | ^ 명령어 ^ 인수 ^ 반환값 ^ 동작 ^ | ||
| | '' | | '' | ||
| + | |||
| ===== 예제 ===== | ===== 예제 ===== | ||
| 줄 16: | 줄 17: | ||
| <code cpp> | <code cpp> | ||
| void setup() { | void setup() { | ||
| - | IpidSet(1, 5.0, 0.5, 1.0, 100, 0, 65535); | + | IpidSet(2, 4.0, 0.2, 0.0, 100, 0, 255); // PID 계수, 계산 주기와 출력 범위를 설정합니다. |
| + | IpidReverse(2, | ||
| } | } | ||
| void loop() { | void loop() { | ||
| - | float pv = ntcRead(4) / 10.0; | + | float pv = ntcRead(4) / 10.0; // NTC 3950 10kΩ 센서의 온도를 0.1℃ 단위 정수로 반환합니다. |
| - | float sv = 50.0; | + | float sv = 25.0; |
| - | | + | |
| - | | + | |
| } | } | ||
| </ | </ | ||
| 줄 36: | 줄 38: | ||
| * '' | * '' | ||
| * 같은 '' | * 같은 '' | ||
| + | |||
| + | ===== 같은 카테고리의 내장 명령어 ===== | ||
| + | |||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| [[commands: | [[commands: | ||
commands/reference/ipidset.1788260661.txt.gz · 마지막으로 수정됨: 저자 127.0.0.1
