Setup: Script setup & initializing your object
Arduino Shell Interface » Devlog
How to call up the script in Powershell:
- Put your script somewhere memorable, like C:/Scripts
- Call the script by typing ."C:/Scripts/cli_tools.ps1"
Creating an instance of the object:
- Create an instance of the object using this syntax: $variable = [Tool]::new("sketch", "port", "board")
- "sketch" refers to the location of your sketch (file.ino or folder containing the .ino will both work)
- Port refers to "COM5", or "COM12". Use the "arduino-cli board list" command to see where yours is
- Board choices (currently) are "pico", "metro" and "uno" (although there are places to add others)
- More board shortcuts are on the way, after I test all of mine and see what's available :)
Get Arduino Shell Interface
Arduino Shell Interface
Upload sketches with Powershell!
Status | Released |
Category | Tool |
Author | Glitch Labs |
Tags | arduino, circuits, microcontroller, script, sourcecode |
More posts
- Script ReferenceMay 23, 2024
- Setup: Arduino CLIMay 23, 2024
Leave a comment
Log in with itch.io to leave a comment.