User Tools

Site Tools


oak:tutorials:particle-variable

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
oak:tutorials:particle-variable [2016/03/19 21:23]
jwhendy finished example with photocell
oak:tutorials:particle-variable [2016/03/19 21:24]
jwhendy [Example: getting the state of a button]
Line 67: Line 67:
  
 This confirms that the variable ''​button''​ is being read correctly. Next, make sure you have your ''​device_id''​ and ''​access_token''​ as described in the [[oak:​tutorials:​particle-id-token|Particle API wiki entry]]. This confirms that the variable ''​button''​ is being read correctly. Next, make sure you have your ''​device_id''​ and ''​access_token''​ as described in the [[oak:​tutorials:​particle-id-token|Particle API wiki entry]].
- 
-[pic of device id] 
-[pic of access token] 
  
 If you have ''​curl''​ installed, open a command prompt/​terminal,​ and type the following (replacing ''​id_here''​ and ''​token_here''​ with the appropriate values). Otherwise, type out the URL somewhere you can copy/paste from, and visit that page in a browser. If you have ''​curl''​ installed, open a command prompt/​terminal,​ and type the following (replacing ''​id_here''​ and ''​token_here''​ with the appropriate values). Otherwise, type out the URL somewhere you can copy/paste from, and visit that page in a browser.
oak/tutorials/particle-variable.txt · Last modified: 2016/03/22 22:18 by jwhendy