# Switch control

Once your PWM channels have been set up and calibrated, we can start using switches control these channels. Any switch in the switch table or in an analog channel can be used to turn on/off PWM or adjust the volume. List of functions found[ here.](https://dahl-design.gitbook.io/ddc/switch-library/pwm-circuit-control)

Besides from PWM specific switch functions, switches sing functions like pushButton() can also control PWM channels using [trigger control.](https://dahl-design.gitbook.io/ddc/3.-coding/peripherals/pwm-circuit-control/trigger-control)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dahl-design.gitbook.io/ddc/3.-coding/peripherals/pwm-circuit-control/switch-control.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
