Skip to content

Commit d8d86c5

Browse files
author
Brandyn A. White
committedApr 1, 2014
Updated docs
Signed-off-by: Brandyn A. White <[email protected]>
1 parent 215177e commit d8d86c5

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed
 

‎arduino.rst

+9-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,15 @@ Powertail
5353
---------
5454
The model used is https://www.adafruit.com/products/268#Description with an Arduino Uno
5555

56-
+--------------------------+---------------------------+-------------------------------+
57-
| 1: +in connected to 3.3v | 2: -in connected to pin 4 | 3: Ground connected to ground |
58-
+--------------------------+---------------------------+-------------------------------+
56+
+--------------------------+---------------------------------------+
57+
| Arduino Pin | Connected to |
58+
+--------------------------+---------------------------------------+
59+
| 3.3v | power tail 1: +in |
60+
+--------------------------+---------------------------------------+
61+
| pin #4 | power tail 2: -in |
62+
+--------------------------+---------------------------------------+
63+
| ground | power tail 3: Ground |
64+
+--------------------------+---------------------------------------+
5965

6066
Bluetooth version
6167
See the :ref:`bluetooth` page for setup details (same pins).

‎basics.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Basics
99

1010
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.).
1111

12-
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.
12+
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.).
1313

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

0 commit comments

Comments
 (0)
Please sign in to comment.