Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 1.66 KB

README.md

File metadata and controls

56 lines (46 loc) · 1.66 KB

Arduino Playground

This repo has some Arduino examples.

Links to designs

Visual Code Plugin Config

{
    "configurations": [
        {
            "name": "Mac",
            "includePath": [
                "${workspaceFolder}/**"
            ],
            "defines": [],
            "macFrameworkPath": [],
            "compilerPath": "/usr/local/bin/gcc-10",
            "cStandard": "gnu17",
            "cppStandard": "gnu++14",
            "intelliSenseMode": "macos-gcc-x64",
            "browse": {
                "path": [
                    "/Applications/Arduino.app/Contents/Java/hardware",
                    "/Applications/Arduino.app/Contents/Java/libraries"
                ]
            }
        }
    ],
    "version": 4
}

(This is the MacOS version, Windows and Linux versions may have different values, see this issue).

To switch between sketches, modify the .vscode/arduino.json file.

In this example, you need to change the sketch property.

{
    "board": "arduino:avr:uno",
    "programmer": "avrisp",
    "sketch": "push-button/push-button.ino"
}