창의공학설계 (2022년도, 1학기, 400.018_001)
arduino-cli [command] help
- Create a configuration file
arduino-cli config init
- Create a new sketch
arduino-cli sketch new LED_ON
- Connect a board
arduino-cli core update-index
- View board list
arduino-cli board list
- Identify unknown boards
arduino-cli board listall mkr
- Install the core for boards, e.g. arduino:samd
arduino-cli core install arduino:avr
- View core list
arduino-cli core list
- Compile a sketch
arduino-cli compile --fqbn arduino:avr:uno LED_ON
- Upload a sketch
arduino-cli upload -p COM3 --fqbn arduino:avr:uno LED_ON
- Serial monitor
putty COM3 -serial -sercfg 9600,8,n,1,N &
- Install a library
arduino-cli lib install NewPing