adafruit / Adafruit_ADS1X15

Driver for TI's ADS1015: 12-bit Differential or Single-Ended ADC with PGA and Comparator
Other
289 stars 301 forks source link

ADS1X15.h .cpp doesn't work with Seeduino Xiao #84

Closed jritz1349 closed 7 months ago

jritz1349 commented 1 year ago

Thank you for opening an issue on an Adafruit Arduino library repository. To improve the speed of resolution please review the following guidelines and common troubleshooting steps below before creating the issue:

If you're sure this issue is a defect in the code and checked the steps above please fill in the following fields to provide enough troubleshooting information. You may delete the guideline and text above to just leave the following details:

jritz1349 commented 1 year ago

When I compile using ADS1X15.h with Seeduino XIAO I get errors:

error: no matching function for call to 'Adafruit_ADS1X15::readADC_SingleEnded()' adc1 = ads1115.readADC_SingleEnded();

but clearly in the ADS1X15.cpp there is a readADC_SingleEnded function.

caternuson commented 7 months ago

Which specific XIAO board is being used? There are many.

What Board Support Package is being used?

What board is being selected in the Ardunio IDE?

jritz1349 commented 7 months ago

Hello,

Thank you for answering my questions. This was the Seeduino development board. I was able to resolve this now. I believe I just used the command "readADC_SingleEnded(0)" as the port 0 was used.

-John Ritz

On Sat, Feb 3, 2024 at 11:37 AM Carter Nelson @.***> wrote:

Which specific XIAO board is being used? There are many.

What Board Support Package is being used?

What board is being selected in the Ardunio IDE?

— Reply to this email directly, view it on GitHub https://github.com/adafruit/Adafruit_ADS1X15/issues/84#issuecomment-1925379810, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBTGDNAB645FX36M4MMZR4LYRZRUHAVCNFSM6AAAAAA25NLYDSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVGM3TSOBRGA . You are receiving this because you authored the thread.Message ID: @.***>

caternuson commented 7 months ago

The Xiao is entire series, not a single product: https://www.seeedstudio.com/xiao-series-page

Closing since this sounds resolved. If there is still an issue, please provide specifics on the hardware being used.

jritz1349 commented 7 months ago

Yes, its the Seeed Studio XIAO SAMD21

Thanks.

On Mon, Feb 5, 2024 at 8:04 PM Carter Nelson @.***> wrote:

The Xiao is entire series, not a single product: https://www.seeedstudio.com/xiao-series-page

Closing since this sounds resolved. If there is still an issue, please provide specifics on the hardware being used.

— Reply to this email directly, view it on GitHub https://github.com/adafruit/Adafruit_ADS1X15/issues/84#issuecomment-1928589349, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBTGDNC3KIUP43Q7INTYBTDYSF6SDAVCNFSM6AAAAAA25NLYDSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRYGU4DSMZUHE . You are receiving this because you authored the thread.Message ID: @.***>