Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
Signed-off-by: Brandyn A. White <[email protected]>
  • Loading branch information
Brandyn A. White committed Apr 1, 2014
1 parent 215177e commit d8d86c5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions arduino.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,15 @@ Powertail
---------
The model used is https://www.adafruit.com/products/268#Description with an Arduino Uno

+--------------------------+---------------------------+-------------------------------+
| 1: +in connected to 3.3v | 2: -in connected to pin 4 | 3: Ground connected to ground |
+--------------------------+---------------------------+-------------------------------+
+--------------------------+---------------------------------------+
| Arduino Pin | Connected to |
+--------------------------+---------------------------------------+
| 3.3v | power tail 1: +in |
+--------------------------+---------------------------------------+
| pin #4 | power tail 2: -in |
+--------------------------+---------------------------------------+
| ground | power tail 3: Ground |
+--------------------------+---------------------------------------+

Bluetooth version
See the :ref:`bluetooth` page for setup details (same pins).
Expand Down
2 changes: 1 addition & 1 deletion basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Basics

In your Javascript environment, an object `WS` is initialized and injected for you with the methods below. WearScripts run on Glass in a `WebView <http://developer.android.com/reference/android/webkit/WebView.html>`_ which supports standard browser functionality (e.g., dom manipulation, html5 canvas, cookies, local storage, etc.).

To start WearScript from the "Ok Glass" menu say "Ok Glass, Wear a Script". You can also tap the "Ok Glass" card and scroll to the "Wear a Script" card.
To start WearScript from the "Ok Glass" menu say "Ok Glass, Wear a Script". You can also tap the "Ok Glass" card and scroll to the "Wear a Script" card. Tap playground to connect to the playground, scroll to see other options (e.g., Stop, Setup, Gist Sync, etc.).

scriptVersion(int version) : boolean
Checks if the webview is running on a specific version.
Expand Down

0 comments on commit d8d86c5

Please sign in to comment.