Difference between revisions of "How to check if connect to I2C device"

From Geekworm Wiki
Jump to navigation Jump to search
 
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
   or
 
   or
 
   ''sudo i2cdetect -y -a 0''// only for Raspberry Pi B
 
   ''sudo i2cdetect -y -a 0''// only for Raspberry Pi B
[[File:OLED77.jpg|thumbnail|500px|left]]<br />
+
[[File:OLED77.jpg|500px]]
 
 
  
 
"77"  is mean that I2C device is detected,  and the address is "77"
 
"77"  is mean that I2C device is detected,  and the address is "77"

Latest revision as of 20:25, 16 June 2023

 sudo i2cdetect -y -a 1
 or
 sudo i2cdetect -y -a 0// only for Raspberry Pi B

OLED77.jpg

"77" is mean that I2C device is detected, and the address is "77"