Skip to content

"was not declared in this scope" #10

@Pilot5860

Description

@Pilot5860

Hello, I have added the ads12xx update as a library to connect with Firebeetle esp32. I also tried to run the "Thermocouple" example on "ide" but I'm getting some errors. Can you say something about resolving these errors?
Thanks,

C:\Users\Hp\Documents\Arduino\ads12xx-test\ads12xx-test\ads12xx-test.ino: In function 'void setup()':
ads12xx-test:82:13: error: 'CS' was not declared in this scope
ADS.begin(CS, START, DRDY,_RESET); //initialize ADS as object of the ads12xx class
^
ads12xx-test:82:17: error: 'START' was not declared in this scope
ADS.begin(CS, START, DRDY,_RESET); //initialize ADS as object of the ads12xx class
^
ads12xx-test:82:24: error: 'DRDY' was not declared in this scope
ADS.begin(CS, START, DRDY,_RESET); //initialize ADS as object of the ads12xx class
^
ads12xx-test:82:29: error: '_RESET' was not declared in this scope
ADS.begin(CS, START, DRDY,_RESET); //initialize ADS as object of the ads12xx class
^
Multiple libraries were found for "SPI.h"
Used: C:\Users\Hp\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\SPI
Not used: C:\Users\Hp\Desktop\arduino-1.8.19\libraries\SPI
exit status 1
'CS' was not declared in this scope
Error downloading https://dl.espressif.com/dl/package_esp32_index.json
Error downloading https://downloads.arduino.cc/packages/package_index.json
`
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions