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

Unable to get the code to compile #1

Open
SV-Krishna opened this issue Apr 18, 2024 · 0 comments
Open

Unable to get the code to compile #1

SV-Krishna opened this issue Apr 18, 2024 · 0 comments

Comments

@SV-Krishna
Copy link

Hello,

I'm not able to get this project to compile. I'm trying to get this on to an ESP32, but setting the default to ESP32 or other boards in platformio doesn't appear to help.

I tried pegging the sensESP version to 1.0.8 to see if that would work. I've also tried (in my own very limited way) to see if I can make changes to the code to align it with SensESP 2.0.0 - without much success, following the guidance on the SensESP site for migrating libraries from SensESP 1x to 2.

As I understand it main.cpp will call a sensor library called ultrasonic_level using the RepeatSensor function. Its in the ultrasonic_level.h and ultrasonic_level.cpp files that I have the problem and I believe its down to this section here in ultrasonic_level.cpp where there appear to be issues with how the ultrasonic_level class is created.

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