Skip to content

Instantly share code, notes, and snippets.

View fjp's full-sized avatar

Franz fjp

View GitHub Profile
brew config
HOMEBREW_VERSION: 2.2.17-94-ga95dd7d
ORIGIN: https://github.com/Homebrew/brew
HEAD: a95dd7d48588099fae744cf8970c9e7ea25368bd
Last commit: 75 minutes ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 8395d17ac95987864a988eea4f8217c25957e814
Core tap last commit: 5 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.kPNiTXSI3N/org.macosforge.xquartz:0
@fjp
fjp / speedsensor.py
Created February 4, 2020 21:54
Optical Speed Sensors for two motors Uses hardware interrupts to measure speed of two motors using RaspberryPi RPi.GPIO Library
"""
Optical Speed Sensors for two motors
Uses hardware interrupts
to measure speed of two motors
Adapted from DroneBot Workshop 2017 for RaspberryPi RPi.GPIO Library
Credits: http://dronebotworkshop.com
"""
import time