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!

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

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support