Essentials
Last updated
Last updated
This is a RP2040-type board, and you'll essentially treat it as a Raspberry Pi Pico board. Follow to get ready to code.
The only thing you need to set up is in 2_Board.ino. Have a look at the very top:
To activate the pre-programmed features for you CB1, set the following:
BOARDTYPE
to 2
USING_CB1
to 1
That is all. Now, if you have removed components from the board or in general have some advanced setup for switches, have a look at
If you're using analog switches that will produce button numbers (typically rotary switches), you'll have to assign some button numbers to it. More on this in the
We can move directly to start using switch functions now. This is all done in 30_Switches.ino. The various functions used to add firmware code for our switches are found in the
Lets say we have 4 wired to row 1, column pins 1-4. Open 30_Switches tab and you'll find the area between "Switches start here" and "Switches end here" to be empty. The following is all you need:
You've now edited two numbers and written 4 lines of code, your firmware is ready to
Next, look at the guide for a more comprehensive firmware setup.