This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Identifier | Location | LatitudeDeg | LatitudeMin | LongitudeDeg | LongitudeMin | Elevation | State | FL450_530 | |
---|---|---|---|---|---|---|---|---|---|
BHM | Birmingham | 33 | 33 | -86 | 44 | 620 | ALABAMA | # | |
HSV | Huntsville | 34 | 33 | -86 | 46 | 629 | ALABAMA | ||
MGM | Montgomery | 32 | 13 | -86 | 19 | 221 | ALABAMA | ||
MOB | Mobile | 30 | 41 | -88 | 14 | 190 | ALABAMA | # | |
ADK | Adakak | 51 | 56 | -176 | 25 | 133 | ALASKA | # | |
ADQ | Kodiak | 57 | 46 | -152 | 35 | 112 | ALASKA | # | |
AFM | Ambler | 67 | 6 | -157 | 51 | 289 | ALASKA | # | |
AKN | King Salmon | 58 | 44 | -156 | 45 | 49 | ALASKA | # | |
ANC | Anchorage | 61 | 14 | -149 | 33 | 131 | ALASKA | # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import board | |
import neopixel | |
# On CircuitPlayground Express, and boards with built in status NeoPixel -> board.NEOPIXEL | |
# Otherwise choose an open pin connected to the Data In of the NeoPixel strip, i.e. board.D1 | |
pixel_pin = board.NEOPIXEL | |
# On a Raspberry pi, use this instead, not all pins are supported |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Using the Circuit Playground as a pulse sensor | |
# - original code by Mike Barela | |
# - https://learn.adafruit.com/make-it-pulse?view=all | |
# | |
# - modified to calculate heart rate from rolling average of interbeat intervals | |
# - Joseph Chou | |
# | |
import time |