Skip to content

Instantly share code, notes, and snippets.

./*
Optical Heart Rate Detection (PBA Algorithm)
By: Nathan Seidle
SparkFun Electronics
Date: October 2nd, 2016
Given a series of IR samples from the MAX30105 we discern when a heart beat is occurring
Let's have a brief chat about what this code does. We're going to try to detect
heart-rate optically. This is tricky and prone to give false readings. We really don't

Testing Heart tracking

this jupyter notebook is running on pc. It connect to beaglebone with usb.

Here we use rest api to communicate with application running on the beaglebone

import requests
@deemarc
deemarc / flower-power.py
Created July 26, 2017 14:24 — forked from mrosata/flower-power.py
Python Turtle Flower... Stack like recursion
#!/usr/bin/python
# Udacity exercise. Just posted the code here to help anyone who wanted to see the work behind my posted result.
__author__ = 'Michael Rosata mrosata1984@gmail.com'
__package__ = ''
from random import random
import turtle
class TurtleArtist(turtle.Turtle):
_origin = (0, 0)