en-us_commands:reference:fdpwm
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en-us_commands:reference:fdpwm [2026/09/07 21:52] – 만듦 - 바깥 편집 127.0.0.1 | en-us_commands:reference:fdpwm [2026/09/08 00:53] (current) – 바깥 편집 127.0.0.1 | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| <code cpp> | <code cpp> | ||
| - | FDPWM(21, 1000, 50.0F); | + | void setup() |
| + | { | ||
| + | // K channels 0~2 share Timer3. | ||
| + | | ||
| + | FDPWM(1, 1000, 50.0F); | ||
| + | FDPWM(2, 1000, 75.0F); | ||
| + | |||
| + | // K channels 3~5 share Timer4. | ||
| + | FDPWM(3, 500, 25.0F); | ||
| + | FDPWM(4, 500, 50.0F); | ||
| + | FDPWM(5, 500, 75.0F); | ||
| + | } | ||
| + | |||
| + | void loop() | ||
| + | { | ||
| + | } | ||
| </ | </ | ||
| Line 24: | Line 39: | ||
| * Changing frequency or resolution may also affect other channels on the same timer. | * Changing frequency or resolution may also affect other channels on the same timer. | ||
| * Ensure the connected load is safe when stopping or resetting outputs. | * Ensure the connected load is safe when stopping or resetting outputs. | ||
| + | |||
| + | ===== Built-in Commands in the Same Category ===== | ||
| + | |||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| [[: | [[: | ||
en-us_commands/reference/fdpwm.1788785565.txt.gz · Last modified: by 127.0.0.1
