User Tools

Site Tools


products:programming_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:programming_setup [2024/03/21 15:29]
admin
products:programming_setup [2025/01/13 22:38] (current)
admin
Line 9: Line 9:
 Before we do that, we'll cover how to get the device seen by your computer. Before we do that, we'll cover how to get the device seen by your computer.
  
-Depending on the device you have you may need to insert a paperclip and hold down a button or you will need to open the bottom, locate a small PCB wrapped in blue tape, and the press a black dot on the tape.+Depending on the device you have you may need to insert a paperclip and hold down a button or you will need to open the bottom ​using a Phillips screwdriver, locate a small PCB wrapped in blue tape, and then press a black dot on the tape. (See the [[http://​codex.2xlnetworks.net/​products:​firmware_update|Firmware Update Guide]] for more info.)
  
 You will need to hold this reset button down while plugging the USB cable into your computer. Wait a few seconds after you plug it in and then release the button. You will need to hold this reset button down while plugging the USB cable into your computer. Wait a few seconds after you plug it in and then release the button.
Line 21: Line 21:
 {{:​products:​02-rpi-rp2-files.png?​direct&​600|}} {{:​products:​02-rpi-rp2-files.png?​direct&​600|}}
  
-The drive will contain two files. Ignore the files, **do not delete or attmept ​to edit them**.+The drive will contain two files. Ignore the files, **do not delete or attempt ​to edit them**.
  
 ---- ----
Line 60: Line 60:
 //Note that in the screenshot it shows a **REMOVE** button as I already have it installed. If it shows REMOVE for you as well then congrats! It's already installed.//​ //Note that in the screenshot it shows a **REMOVE** button as I already have it installed. If it shows REMOVE for you as well then congrats! It's already installed.//​
  
 +----
  
 +Next we're going to install the Bounce2 library.
  
 +Click the Library Manager icon on the left side. It should be the third from the top.
  
 +{{:​products:​06-bounce-library.png?​direct&​800|}}
  
 +Type "​bounce2"​ into the search box and you should see the **Bounce2 by Thomas O Fredericks** appear. ​
  
 +Click the **INSTALL** button.
  
 +Once it is installed you can close the side panel.
  
 +----
  
 +We've got things setup and now we can prepare to program the board.
  
 +First we need to select the correct board.
  
 +{{:​products:​07-select-pico.png?​direct&​800|}}
  
 +Under the **Tools** menu select **Boards** and then **Raspberry Pi Pico/​RP2040** and finally **Raspberry Pi Pico**.
  
 +----
  
 +Now we'll select the port. Since we pressed the reset button to get the board to mount as a UF2 drive we'll select that.
  
 +{{:​products:​08-select-port.png?​direct&​800|}}
  
 +Under the **Tools** menu select **Port** and then **UF2 Board**.
  
 ---- ----
  
 +Finally if you are programming the device as a keyboard, mouse, or joystick/​game controller you can use the **Pico SDK**.
 +
 +(If you want a USB MIDI device **Adafruit TinyUSB** is the option to choose.)
 +
 +{{:​products:​09-select-pico-sdk.png?​direct&​800|}}
 +
 +Under the **Tools** menu select **USB Stack** and then **Pico SDK**.
 +
 +We are ready to load the code!
 +
 +Download this {{ :​products:​example_code.zip |}} to get started.
 +
 +----
  
 +{{:​products:​10-upload.png?​direct&​800|}}
  
 +Once you have your code ready you can upload it to the board. Use the **Upload** button found in the upper left part of the application window. (It looks like an arrow pointing to the right.)
  
products/programming_setup.1711052998.txt.gz ยท Last modified: 2024/03/21 15:29 by admin