kplindegaard / smbus2

A drop-in replacement for smbus-cffi/smbus-python in pure Python
MIT License
244 stars 68 forks source link

deteced i2c adress #43

Open TheYigidOS opened 4 years ago

TheYigidOS commented 4 years ago

hi how can i list avaible i2c adresses in python code

kungpfui commented 4 years ago

Trial and error is your friend.

I wrote a small snippet of code which shows similar results as i2cdetect do. i2c device scan example

Cheers Stefan

TheYigidOS commented 4 years ago

Thanks guy

Windows 10 için Postahttps://go.microsoft.com/fwlink/?LinkId=550986 ile gönderildi


Gönderen: Stefan S. notifications@github.com Gönderildi: Monday, January 13, 2020 11:23:39 PM Kime: kplindegaard/smbus2 smbus2@noreply.github.com Bilgi: KJPOUNDY132 yocciomala@outlook.com; Author author@noreply.github.com Konu: Re: [kplindegaard/smbus2] deteced i2c adress (#43)

Trial and error is your friend.

I wrote a small snippet of code which shows similar results as i2cdetect do. i2c device scan examplehttps://gist.github.com/kungpfui/54784ebc3b3ca72169c1839720b313bf

Cheers Stefan

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/kplindegaard/smbus2/issues/43?email_source=notifications&email_token=ALEX5HNPRSG6UYNOSDYJSK3Q5TEUXA5CNFSM4KFOTUA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI2E3EY#issuecomment-573853075, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALEX5HM6V5FDXLOOGCAN4TLQ5TEUXANCNFSM4KFOTUAQ.