This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
|
oak:tutorials:arduino [2016/03/21 15:54] digistump |
oak:tutorials:arduino [2016/06/03 18:38] digistump |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ======Connecting and Programming Your Oak====== | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ======Connecting and Programming Your Oak====== | ||
| ====== Installation Instructions: ====== | ====== Installation Instructions: ====== | ||
| - | |||
| - | |||
| - | |||
| ---- | ---- | ||
| - | |||
| Line 20: | Line 12: | ||
| If you are using a new Oak that has never received its initial update you must complete this tutorial first: [[oak:tutorials:connecting|Connecting your Oak for the first time]] | If you are using a new Oak that has never received its initial update you must complete this tutorial first: [[oak:tutorials:connecting|Connecting your Oak for the first time]] | ||
| - | |||
| ===== Arduino IDE ===== | ===== Arduino IDE ===== | ||
| Line 44: | Line 35: | ||
| * You now must set up your Particle Cloud login so you can upload to your device. Download the OakCLI tool from here: | * You now must set up your Particle Cloud login so you can upload to your device. Download the OakCLI tool from here: | ||
| - | * Windows: https://github.com/digistump/OakCLI/releases/download/1.0.0/oakcli-1.0.0-win32.zip | + | * Windows: https://github.com/digistump/OakCLI/releases/download/1.0.2/oakcli-1.0.2-win32.zip |
| - | * Mac OSX: https://github.com/digistump/OakCLI/releases/download/1.0.0/oakcli-1.0.0-osx.tar.gz | + | * Mac OSX: https://github.com/digistump/OakCLI/releases/download/1.0.2/oakcli-1.0.2-osx.tar.gz |
| - | * Linux 32bit: https://github.com/digistump/OakCLI/releases/download/1.0.0/oakcli-1.0.0-linux32.tar.gz | + | * Linux 32bit: https://github.com/digistump/OakCLI/releases/download/1.0.2/oakcli-1.0.2-linux32.tar.gz |
| - | * Linux 64bit: https://github.com/digistump/OakCLI/releases/download/1.0.0/oakcli-1.0.0-linux64.tar.gz | + | * Linux 64bit: https://github.com/digistump/OakCLI/releases/download/1.0.2/oakcli-1.0.2-linux64.tar.gz |
| - | * Run the OakCLI tool you just downloaded (from any directory), enter your [[https://www.particle.io/|Particle]] login data and select your device, then select exit. You only have to do this once or when you want to change devices. | + | * Run the OakCLI (eg. ''./oak'') tool you just downloaded (from any directory), enter your [[https://www.particle.io/|Particle]] login data and select your device. |
| + | |||
| + | <code> | ||
| + | [1] Unnamed Device (Device ID: d9xxxxxxxxxxxxxxxxxxxxxx) | ||
| + | [2] ------------------------ | ||
| + | [3] Switch Particle Accounts | ||
| + | [0] Exit | ||
| + | |||
| + | Which device would you like to use? [1, 2, 3, 0] : 1 | ||
| + | |||
| + | Configuration saved at /home/user/.oak/config.json | ||
| + | You can now upload files to this device. | ||
| + | Currently selected device: Unnamed Device (Device ID: d9xxxxxxxxxxxxxxxxxxxxxx) | ||
| + | </code> | ||
| + | |||
| + | * If you are done, select exit. You only have to do this once or when you want to change devices. | ||
| * The install is now complete! | * The install is now complete! | ||