Hardware Reference
In-Depth Information
ring. This is as simple as lighting up each pixel using the Neo-
Pixel code and determining which pixel is your top pixel (from
0-15). In the code, it is set to pixel 1; adjust this if necessary.
Next, you need to make sure your watch knows which way north
is. This is really easy to do. When your watch is on, hold down
the button until you get to mode 3, which is the compass mode.
Then, using a compass on your smartphone, or the old-
fashioned kind, point your TOP_LED north. Count clockwise how
many pixels away the lit LED is from the TOP_LED. For example,
if you aim your TOP_LED north and the LED four spots over
(counting clockwise) is lit up, you would change the LED_OFF-
SET value in the code from 0 to 4.
That's it—you are ready to upload the code to your FLORA, and
start using your NeoGeo Watch! Upload the sample code from
GitHub and have fun!
Using the Watch
Plug in a tiny LiPoly battery and tuck it into the cuff ( Figure 7-12 ).
Although you can place it directly behind the circuit, we liked it
better tucked into one of the “side pockets” where the cuff over-
laps the strap. Use a piece of gaffer tape to hold the battery
nicely to the strap, where it can be protected by the cuff.
FLORA's onboard power switch should still be accessible, hid-
den under the part of the watch closest to you. If you don't have
long enough nails, use a toothpick or other pointy, nonconduc-
tive object to flip the switch!
The watch fetches the time of day from GPS satellites
( Figure 7-13 ), so when it first powers on it needs to get a GPS fix
by directly seeing the sky. Set it on your windowsill or go for a
walk in the sunshine so your watch knows what time it is! It can
take several minutes to acquire a GPS fix, but the watch needs
to do this only once, on power up. You can attach an optional
backup battery to the GPS module so it can keep its fix between
battery charges, and tuck it in the opposite “side pocket” of the
cuff or right behind the face.
Search WWH ::




Custom Search