|
DEV-13630 Datasheet, PDF (6/13 Pages) SparkFun Electronics – Photon Development Guide | |||
|
◁ |
Page 6 of 13
The contents of your project folder will be displayed to the left of the text
editor window. Click on any file to view its contents.
You can edit this code just as if you were in the Build IDE. Click the
checkmark icon (âCompile and show errors if anyâ) to try compiling your
code. If it builds, youâll see a âSuccess!â message down at the bottom of the
window.
Select a Device and Flash
Once youâve gotten your application code to the point where youâre ready to
upload it save.
Watch out! Particle Dev doesn't automatically save before compiling
and uploading your code. Make sure you save before clicking
"Flash" to make sure your Photon gets the latest version of your
code.
Then select a device by going to Particle > Select device. If your Photon is
connected to Particle Cloud, there should be a comfortingly pulsing teal dot
next to it.
With your device selected, and code in a compilable state, click the Flash
icon (âCompile and upload code using cloudâ).
|
▷ |