arduino
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| arduino [2023/11/29 10:00] – [arduino-cli] jhagstrand | arduino [2023/11/30 00:58] (current) – [arduino-cli] jhagstrand | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| Arduino CLI is a command-line version of the same software. | Arduino CLI is a command-line version of the same software. | ||
| + | |||
| + | ===== Arduino IDE ===== | ||
| + | |||
| + | File - Preferences - Show verbose output during x compilation x upload | ||
| + | |||
| + | Check compilation and upload to get detailed messaging and learn: | ||
| + | * arduino-builder - the executable run for compile and upload. | ||
| + | * the name of the board | ||
| + | * the name of the core | ||
| + | * the tools and libraries used | ||
| + | * the include files used and from which folders | ||
| + | |||
| ===== arduino-cli ===== | ===== arduino-cli ===== | ||
| - | To get a list of all installed boards, human name and FQBN: | + | Display |
| $ arduino-cli board listall | $ arduino-cli board listall | ||
| + | |||
| + | Display current config settings, print out ~/ | ||
| + | $ arduino-cli config dump | ||
| Line 26: | Line 41: | ||
| Why is my sk8mini no longer compiling? | Why is my sk8mini no longer compiling? | ||
| + | |||
| + | When using Tools - Pin Numbering - "By Arduino pin (default)" | ||
| + | function digitalPinToGPIONumber(_pin) is added and compile fails | ||
| + | |||
| + | When using Tools - Pin Numbering - "By GPIO number (legacy)" | ||
| + | it compiles successfully, | ||
| + | |||
| + | My code uses D3 and D6 as pin numbers. | ||
| + | Where are these defined? | ||
| Line 157: | Line 181: | ||
| The CLI needs the FQBN for the board. | The CLI needs the FQBN for the board. | ||
| + | |||
| + | I have 5 Nano ESP32 boards installed. | ||
| + | | Arduino Nano | arduino: | ||
| + | | Arduino Nano ESP32 | esp32: | ||
| + | | Arduino Nano ESP32 | arduino: | ||
| + | | Nano32 | ||
| + | | UM NanoS3 | ||
| + | |||
arduino.1701270043.txt.gz · Last modified: 2023/11/29 10:00 by jhagstrand