Please note: Friday June 18 is a holiday celebrating Juneteenth, please allow extra time for your order to arrive and plan accordingly.
0

i2c list in csv to tsv format
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Please be positive and constructive with your questions and comments.

i2c list in csv to tsv format

by DonBower on Sat May 15, 2021 5:59 pm

Your page https://learn.adafruit.com/i2c-addresses/the-list is awesome.
is there anyway to provide it in some sort of downloadable list format like a CSV or TSV?

I am trying to sense which sensors i may have via a script, and it's beyond my ability to read the xml code in a script.
Thanks in advance.

DonBower
 
Posts: 15
Joined: Sat Jul 30, 2016 11:14 am

Re: i2c list in csv to tsv format

by DonBower on Sat May 15, 2021 7:48 pm

I am thinking something like:
Code: Select all | TOGGLE FULL SIZE
"0x10","Mini GPS PA1010D","https://www.adafruit.com/product/4415","adafruit-circuitpython-gps"
"0x29","TSL2591 light sensor (0x29 and 0x28),"https://www.adafruit.com/product/1980)","adafruit-circuitpython-tsl2591"
"0x53","LTR390 UV Light Sensor","https://www.adafruit.com/product/4831","adafruit-circuitpython-ltr390"
"0x5f","HTS221 Temperature & Humidity Sensor Breakout Board","https://www.adafruit.com/product/4535","adafruit-circuitpython-hts221"
"0x61","SCD-30 NDIR CO2 Temperature and Humidity Sensor","https://www.adafruit.com/product/4867","adafruit-circuitpython-scd30"
"0x77","BMP390L Precision Barometric Pressure and Altimeter","https://www.adafruit.com/product/4816","adafruit-circuitpython-bmp3xx"

DonBower
 
Posts: 15
Joined: Sat Jul 30, 2016 11:14 am

Re: i2c list in csv to tsv format

by adafruit_support_mike on Tue May 18, 2021 8:43 pm

If you have the whole thing, we'll be happy to add it to the tutorial.

adafruit_support_mike
 
Posts: 62799
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.