11/19/2023 0 Comments Upgrade adt keypad![]() You should be able to find any extra libraries that you need in the Adafruit bundle - copy them to the lib folder just as before. Some of the other examples need other libraries to be installed - the ones that set up Keybow 2040 as a USB keyboard will need adafruit_hid installing for example. We'd suggest trying reactive-press.py or rainbow.py first as they don't require any additional libraries. Once it's saved, CircuitPython will automatically detect changes and start running the code. To load an example onto Keybow, all you need to do is rename it to code.py and copy it to CIRCUITPY (or open up the example in a text editor and copy and paste the contents into code.py). They demonstrate a variety of interesting things you can do with your new macro pad. If you downloaded the whole PMK library as a zip file, you should already have a copy of our examples on your computer. The contents of the lib folder on your CIRCUITPY drive should now look something like this: Unzip the file, and copy the PMK folder into the lib folder on CIRCUITPY. Click on the green 'Code' button at the top of the page, and select 'Download ZIP' in the dropdown - this will download the whole library, complete with examples. Next, you'll need to download our PMK library from Github (PMK stands for Pimoroni Mechanical/Mushy Keypad, if you're curious!). Once you've unzipped the file, copy the adafruit_is31fl3731 folder from the bundle's lib folder across to the lib folder on your CIRCUITPY drive. Make sure you download the library bundle that matches your CircuitPython version! The easiest way to get it is via the CircuitPython Library Bundle, which you can download from this page. If you already have files in your lib folder, it's a good idea to delete them before you copy across the new ones, as having older versions of the libraries lurking around can cause problems.įirst up is the Adafruit IS31F元731 library - this is a driver for Keybow's LED matrix controller. CircuitPython libraries are installed by copying files from your computer to the lib folder in the CIRCUITPY drive - super easy! The next thing you'll need to do is download and install the libraries that Keybow uses. If you'd like to learn more about CircuitPython and how it works, there's a ton of information on the Adafruit site. This is what the CIRCUITPY drive looks like in Windows: After a few seconds it should show up as a drive named CIRCUITPY - it's now running CircuitPython! It should show up as a drive called RPI-RP2 - it's now in bootloader/DFU mode. Whilst holding down the BOOTSEL button, connect it to your computer with the USB-C cable or tap RESET (the other button) if it's already plugged in. You can find it to the right of the USB port, assuming your Keybow is oriented with keys pointing upwards and the USB-C port at the top edge. uf2 file - this is a customised version of CircuitPython built especially for Keybow 2040.įor the next bit, you'll need to locate the BOOTSEL button on your Keybow. We're using CircuitPython for our macro pad firmware as HID is not yet supported in MicroPython.įirst of all, go to this page and download the most recent. These instructions will assume you have a Keybow 2040 - scroll down to the bottom for things you'll need to do differently if you have a RGB Keypad. A headered Raspberry Pi Pico plugged into a Pico RGB Keypad Base.An assembled Keybow 2040 (if your Keybow is still unassembled, check out our assembly tutorial).If you buy a Keybow 2040 it will come with CircuitPython and libraries pre-installed, but you might find this guide useful if you want to upgrade to the latest versions, or if something goes wrong and you need to start from scratch. In this tutorial, we'll walk you through installing CircuitPython and our PMK library on some of our more macro pad friendly boards, as well as showing you where to find the CircuitPython libraries that you'll need. Installing CircuitPython on Keybow 2040 (or Pico RGB Keypad)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |