Python Raspberry Pi library for interfacing with Sparkfun ZX Distance and Gesture Sensor (SEN-12780)
Based off the SparkFun ZX Distance and Gesture Sensor Arduino Library
Relies on Adafruit Raspberry Pi Python Code
-
wire up to Pi's I2C
-
navigate to /zxsensor/
-
then run the following terminal command:
python zx_sensor_demo.py
- only basic 'x' & 'z' value retrieval so far, no gestures yet