Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"was not declared in this scope" #10

Open
Pilot5860 opened this issue Apr 28, 2022 · 0 comments
Open

"was not declared in this scope" #10

Pilot5860 opened this issue Apr 28, 2022 · 0 comments

Comments

@Pilot5860
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant