Skip to content

Instantly share code, notes, and snippets.

@RyodoTanaka
Last active February 26, 2016 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RyodoTanaka/12e58cf025f78e943a53 to your computer and use it in GitHub Desktop.
Save RyodoTanaka/12e58cf025f78e943a53 to your computer and use it in GitHub Desktop.
コマンドラインからArduinoの書き込みなどを行う (ino を使う 編) ref: http://qiita.com/RyodoTanaka/items/9480fbe4999dbf8cc25e
$ sudo pip install ino
$ sudo apt-get install python -y
$ ino build -m mega2560
$ ino upload -m mega2560 -p /dev/ttyACM1
$ ino serial -p /dev/ttyACM1
[build]
board-model = mega2560
[upload]
board-model = mega2560
serial-port = /dev/ttyACM1
[serial]
serial-port = /dev/ttyACM1
.
├── ini.ino
├── lib
└── src
└── sketch.ino
$ ino build
$ ino upload
$ ino serial
$ mkdir ~/Document/ino_test/
$ cd ~/Document/ino_test/
$ ino init
.
├── lib
└── src
└── sketch.ino
$ sudo apt-get install picocom -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment