> For the complete documentation index, see [llms.txt](https://dahl-design.gitbook.io/ddc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dahl-design.gitbook.io/ddc/4.-advanced-features/simhub-control.md).

# LED control

There are a few things to set up to allow SimHub to make contact with your controller.&#x20;

First you'll need to[ set up a VID/PID](/ddc/3.-coding/naming-the-controller.md) for the controller.

When you've [uploaded](/ddc/3.-coding/upload.md) the firmware to your controller, you can connect to SimHub:

* Go to devices, utilities in top right corner and select "Device definition authoring tools"

<figure><img src="https://1937097571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXsx2Pyx5QBO3iWZFpmmR%2Fuploads%2FvaxJdNSJ6Luipfmq9YTQ%2Fimage.png?alt=media&amp;token=01d7ea17-e71e-408a-b29f-410339f6bfe4" alt=""><figcaption></figcaption></figure>

* Select new device definition and name the device

<figure><img src="https://1937097571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXsx2Pyx5QBO3iWZFpmmR%2Fuploads%2FuPX2u2L75YePHYseI1W7%2Fimage.png?alt=media&amp;token=8fcad437-9f4b-498b-a015-e4b7a82fcf86" alt=""><figcaption></figcaption></figure>

* Follow instructions for setting up the device page with branding and image

<figure><img src="https://1937097571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXsx2Pyx5QBO3iWZFpmmR%2Fuploads%2FyUL7VpnP0cdeNN3HciAZ%2Fimage.png?alt=media&amp;token=8894714c-cf71-45af-9579-5f947684319b" alt=""><figcaption></figcaption></figure>

* Scroll down to add LEDs and a VoCore screen if needed

<figure><img src="https://1937097571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXsx2Pyx5QBO3iWZFpmmR%2Fuploads%2F2vakz6IMLbCU08WJ0vVX%2Fimage.png?alt=media&amp;token=2bd36b2e-33b3-4c71-8184-e452a82ab081" alt=""><figcaption></figcaption></figure>

* You can also define which LEDs do what by sorting your LEDs in the section below

<figure><img src="https://1937097571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXsx2Pyx5QBO3iWZFpmmR%2Fuploads%2F52y18l3GfPNNS37zMMdx%2Fimage.png?alt=media&amp;token=1ad364d0-54e3-459a-9f0c-2a5b9e67a9c7" alt=""><figcaption></figcaption></figure>

* Set the LED count and edit the physical LED mapping if wanted

<figure><img src="https://1937097571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXsx2Pyx5QBO3iWZFpmmR%2Fuploads%2FBvMz3FdLeBHBFKYEQKxw%2Fimage.png?alt=media&amp;token=6d71d7ba-3a73-4005-94e1-e57d7db14265" alt=""><figcaption></figcaption></figure>

* Set communication to Standard SimHub Serial protocol and enter your VID/PID

<figure><img src="https://1937097571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXsx2Pyx5QBO3iWZFpmmR%2Fuploads%2FZEbebBjnoRk5kwRIWw3k%2Fimage.png?alt=media&amp;token=99269c52-1288-4ac8-bb7a-da2f2a85f580" alt=""><figcaption></figcaption></figure>

* Save definition!

<figure><img src="https://1937097571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXsx2Pyx5QBO3iWZFpmmR%2Fuploads%2F1xCcSUgiuB6SyEQG2p2z%2Fimage.png?alt=media&amp;token=ed025360-4692-4654-960a-c2a13103edb9" alt=""><figcaption></figcaption></figure>

* Now you can add a new device

<figure><img src="https://1937097571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXsx2Pyx5QBO3iWZFpmmR%2Fuploads%2FhL4zszmtBUympegpeJMZ%2Fimage.png?alt=media&amp;token=3b1417c2-8113-4934-bd2a-85cb325667ba" alt=""><figcaption></figcaption></figure>

* Find the definition you made and add it!

<figure><img src="https://1937097571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXsx2Pyx5QBO3iWZFpmmR%2Fuploads%2F5pKNr7z5aZICiC8O9kbK%2Fimage.png?alt=media&amp;token=7028ae63-2b7d-449b-9ff4-022eb7cbe0a4" alt=""><figcaption></figcaption></figure>
