![]() ![]() ![]() Make sure your keypad is plugged in and press F7. ino extension (which should be something like trinketM0-master > trinketM0 > trinketM0.ino, the names will be different depending on the code you’re using). Click on the folder with the same title as the parent folder and open the file with the same title with the. Open the folder in Atom that you just extracted from the zip that contains the “platformio.ini” file and it should show up in the left panel under “Project.” It should be called -master, but make sure it’s the one that contains platformio.ini since there can be two of the folders depending on how you extracted the zip. Click the “clone or download” button and then select “download zip.” Extract it to wherever you like (I would recommend your desktop or documents folder.) Hit restart and you’re good to go! Download the Code #Ĭlick the link for your respective model to go to the GitHub page that contains the necessary code. When the installation finishes, you should see a button in the top right that tells you to restart to apply the changes. It should ask if you want to install clang for auto-completion but it’s not necessary so you can just ignore it. Click install on “platformio-ide” and wait for it to install. Click on install, type “platformio” into the search box and hit enter. Launch atom and press ctrl and comma which will open the settings menu. Download Atom #ĭownload and install Atom from here: Install PlatformIO # If you would still like to proceed, you may have to install git and reboot your machine when prompted. As such, and due to the recommendation from PlatformIO, I recommend using VS Code instead. The folders containing the source code have also been renamed, so if you get stuck on the uploading step, just be aware that trinketm0 > trinketM0.ino has become src > src.ino.Ītom is a text editor made by GitHub, but has become somewhat redundant as GitHub was purchased by Microsoft. If you HATE proprietary software and refuse to use VS Code, I would recommend using VSCodium, an open source version of VS Code. VS Code is the preferred method due to its simplicity. It should still work, but it may ask you to install Git, which you need to reboot your machine for after. ![]() This is an older version of the guide using Atom instead of VS Code. If you have anything starting with “Env” under project tasks, click the one for your corresponding model to expand the menu. Now you can click on the PlatformIO logo (the ant head) in the side bar. The folder you open should contain another folder called src. Now you can go to File>Open Folder and select the folder you extracted from the GitHub download. To install it, open VS Code and click on the icon with the 3 connected squares and one floating square in the side bar.įrom here, you can type “platformio” into the search bar and click the install button Platformio IDE. PlatformIO is what converts the code into something the keypad can understand. Click the “Code” button in the top right and then select “download zip.” Extract it to wherever you like (I would recommend your desktop or documents folder.) Click the link for your respective model to go to the GitHub page that contains the necessary code. You also need to download the code for your keypad. Leave all defaults selected during installation. You’ll also need Git so download and install it from here. Download #ĭownload and install VS Code from the link here: I previously recommended Atom for this install guide, but since PlatformIO now officially recommends VS Code and it does a few things better, I have updated the guide accordingly. VS Code is Microsoft’s text editor that makes compiling code extremely easy with extensions. If you’d like to remap your keys, follow the remapping guide. ![]() Even if you do reprogram the keypad, you will only be reverting back to the default keymappings. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |