# Upload

Now that your switches are set up, your controller is ready to go. Compile and upload the sketch to your microcontroller, if everything is planned and written correctly it should now work.

Select the correct board and port, and remember to set USB stack to Adafruit\_Tiny\_USB for RP2040 based board. Also for RP2040 boards, it might boot up in USB storage device mode - in that case it wont be accessible at a port number, but as a U2F device - they are also found the same place you select port number.&#x20;

Since the Windows USB device interface just shows the first 32 buttons, I suggest using [Pointy's Joystick Tester](http://www.planetpointy.co.uk/joystick-test-application/) for debugging your controller. Also keep in mind that button numbers in DDC are numbered -1 from Windows. So button 15 in DDC is button 16 in Windows, etc.


---

# 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/upload.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.
