Skip to main content

Getting Started

Getting Started

No matter of you are and Engineer, a Maker, or an Educator, there are several ways to get started with DUELink, depending on your experience. This page will direct you to where you can get started.

Expand Your Setup

CincoBit

If you already use one of the supported hardware devices or coding languages then you already know how to use DUELink. Those pages have everything you need to expand on what you already know.


New to Coding

CincoBit

If you are new to coding, or to coding circuits, we recommend using MicroBlocks with any of the boards recommended by the Educators page. These hardware options also work great if you are are new but have basic understanding of one of the languages, like Python.


Starting With No Code!

The online demo allows you to test any DUELink module without needing to write any code! demo.duelink.com is an excellent JavaScript demo but you can use it to access DUELink moudles, without any coding!

DUELink Demo website

Connect your module to USB on your Computer. If your board does not have a USB connector then use an adapter, like USB Hook.

DUELink Connection

Go to the loader page and make sure your board is loaded with the latest firmware and drivers.

Open the demo site and click the Connect button.

Demo Connect

Select DUELink Official in the pop-up window. The site should detect the connected device and show some relevant info.

Demo LED tab

You can now enter any commands and click Send button to execute. An example is StatLed(200,200,10) that controls the STAT LED found on all modules. Commands can be any DUELink Script code in but must be in a single line. For example, we can have a loop that counts to 0 to 9: for _x in range(10): Print(_x," "):Next. Note how multi-statements are separated by a : symbol.

The response box will show the command that was just sent and the response.

Sent: for _x in range(10): Print(_x," "):Next
Response: 0123456789

You can now access any of the driver scripts provided by modules. The info already have links to the drivers tab on the product's page.


Community Forum

The examples above show different ways to start with DUELink. Join us at the DUELink Forum to discuss other options and share what you are working on.