How to get data from I2C device BH1750 over USB-I2C module in Python3?
问题 I am Linux user and I have those devices: USB-I2C convertor: https://www.robot-electronics.co.uk/htm/usb_i2c_tech.htm GY-30 I2C module: https://5.imimg.com/data5/TY/AK/MY-1833510/gy-30-bh1750-intensity-digital-light-sensor-module.pdf And GY-30 is with BH1750 Ambient light sensor: https://www.mylms.cz/wp-content/uploads/2017/07/bh1750-datasheet.pdf I need to read Luxs from BH1750 over virtual serial port in Python3, but I am not sure how to do it. I ended with something like this: import