Agree with the above. If you are using only I2C devices you could scan the address range and identify address locations that are populated. That in itself would not identify the exact device, however some I2C devices include a makers ID code (ADXL345 for example) which along with its address could identify the device.alphanumeric wrote: ↑Sun Apr 22, 2018 7:29 pmWhat he said. The only auto detect, GPIO wise that I know of is via the HAT ID EPROM, if it has one. You can look for devices (addresses) on i2c with i2cdetect but that won't actually tell you what's connected, just that something is there. What are you working on with?
Users browsing this forum: lmarmisa and 7 guests