I hereby claim:
- I am thinkjd on github.
- I am thinkjd (https://keybase.io/thinkjd) on keybase.
- I have a public key ASC79NI4mUhv42IJcQ-s_CYj6jyeDrecwu9jP92MhQ9XpQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# ---------------------------------------------------------------------------- | |
# "THE BEER-WARE LICENSE" (Revision 42): | |
# <[email protected]> wrote this file. As long as you retain this notice you | |
# can do whatever you want with this stuff. If we meet some day, and you think | |
# this stuff is worth it, you can buy me a beer in return Jan-Daniel Georgens | |
# ---------------------------------------------------------------------------- | |
from BeautifulSoup import BeautifulSoup | |
import urllib2 | |
import urllib |
# coding=utf8 | |
""" | |
Description: This is a basic "life" simulation that follows three distinct rules: | |
1.Any live cell with fewer than two live neighbours dies | |
2.Any live cell with two or three live neighbours lives | |
3.Any live cell with more than three live neighbours dies | |
4.Any dead cell with exactly three live neighbours becomes a live cell | |
A neighbor is deemed as any cell directly horizantal/vertical/diagonal | |
meaning there are 9 neighbors to a cell at any time | |
""" |
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 | |
from bluepy.btle import Peripheral | |
import time | |
from influxdb import InfluxDBClient | |
from influxdb import SeriesHelper | |
# InfluxDB connections settings | |
host = '' | |
port = '' | |
user = '' |
# This file contains common pin mappings for RUMBA boards. To use | |
# this config, the firmware should be compiled for the AVR atmega2560. | |
# See docs/Config_Reference.md for a description of parameters. | |
[stepper_x] | |
step_pin: PH0 | |
dir_pin: PH1 | |
enable_pin: !PL1 | |
microsteps: 16 |