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 09:44] – [Terms] 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 ===== | ||
| + | |||
| + | Display a list of all installed boards, human name and FQBN: | ||
| + | $ arduino-cli board listall | ||
| + | |||
| + | Display current config settings, print out ~/ | ||
| + | $ arduino-cli config dump | ||
| Line 21: | 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? | ||
| - | === Using Microcontrollers === | + | ===== Using Microcontrollers |
| A microcontroller is a type of integrated circuit (IC), a chip. | A microcontroller is a type of integrated circuit (IC), a chip. | ||
| Line 150: | Line 179: | ||
| ~/ | ~/ | ||
| ~/ | ~/ | ||
| + | |||
| + | 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.1701269071.txt.gz · Last modified: 2023/11/29 09:44 by jhagstrand