Skip to content

Instantly share code, notes, and snippets.

@jhordyess
Last active March 6, 2022 22:52
Show Gist options
  • Save jhordyess/c0ba6d00454ebbd30bf71997bf2766d9 to your computer and use it in GitHub Desktop.
Save jhordyess/c0ba6d00454ebbd30bf71997bf2766d9 to your computer and use it in GitHub Desktop.
useful PlatformIO CLI commands
# Initialize project for Arduino Uno R3
pio project init --board uno --ide vscode
# Build
pio run
# Upload
pio run -t upload
# Connect to the serial port monitor
pio device monitor
# Search "irremote" library for "atmelavr" platform and "arduino" framework
pio lib search irremote -p atmelavr -f arduino
# From the ID getting with the previous command, install with:
pio lib install 4
# 👉 https://docs.platformio.org/en/stable/core/userguide/index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment