Skip to main content

Raspberry Movement Detector

Project description

Project description Movement detector for RaspberryPi with Watch to watch objects coming into proximity. Pass pins Trigger and Echo. Pass offset to determine boundary for the object to come in

Example from pymitter import EventEmitter

ee = EventEmitter()

decorator usage

@ee.on("myevent") def handler1(arg): print "handler1 called with", arg

callback usage

def handler2(arg): print "handler2 called with", arg ee.on("myotherevent", handler2)

emit

ee.emit("myevent", "foo")

-> "handler1 called with foo"

ee.emit("myotherevent", "bar")

-> "handler2 called with bar"

Source code and more info at https://github.com/riga/pymitter.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for RaspberryPiMovementDetector, version 0.12
Filename, size File type Python version Upload date Hashes
Filename, size RaspberryPiMovementDetector-0.12-py3-none-any.whl (4.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size RaspberryPiMovementDetector-0.12.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page