i2c_scanner.py

# هذا العمل مرخص بموجب ترخيص MIT.
# حقوق النشر (c) 2013-2023 OpenMV LLC. جميع الحقوق محفوظة.
# https://github.com/openmv/openmv/blob/master/LICENSE
#
# أمثلة ماسح I2C
#
from machine import I2C

i2c = I2C(1, freq=400_000)
for addr in i2c.scan():
    print("Found device at address %d:0x%x" % (bus, addr))

results matching ""

    No results matching ""