Pigpio I2C for VCLN4000 Proximity Sensor - Raspberry Pi Forums
hello,
trying vcln4000 proximity sensor read data raspberry pi, being operated python on windows 7 machine on internet pigpio.
using tutorial jumping off point: https://www.openhomeautomation.net/prox ... pberry-pi/
happy if example work (from above tutorial): https://github.com/openhomeautomation/r ... example.py
noticed tutorial's code uses library called "smbus".
question is: there easy way convert functions smbus library pigpio i2c functions (without using "curses" library)?
in advance!
trying vcln4000 proximity sensor read data raspberry pi, being operated python on windows 7 machine on internet pigpio.
using tutorial jumping off point: https://www.openhomeautomation.net/prox ... pberry-pi/
happy if example work (from above tutorial): https://github.com/openhomeautomation/r ... example.py
noticed tutorial's code uses library called "smbus".
question is: there easy way convert functions smbus library pigpio i2c functions (without using "curses" library)?
in advance!
pigpio implements smbus commands possible. there ought one-to-one mapping between python smbus module methods , pigpio i2c methods. don't remember if have same name. i'd have used smbus documentation names.
raspberrypi
Comments
Post a Comment