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

Error compiling #2

Open
marcovilla118 opened this issue Dec 13, 2023 · 1 comment
Open

Error compiling #2

marcovilla118 opened this issue Dec 13, 2023 · 1 comment

Comments

@marcovilla118
Copy link

Dear All,
I was just testing theist modification but there are few errors during the compile process, can someone have a look. Thanks

/Users/marcovilla/Documents/libraries/veml3328_arduino_driver-main-2/src/veml3328.cpp: In member function 'uint8_t VEMLClass::begin(uint8_t, TwoWire*, uint8_t)':
/Users/marcovilla/Documents/libraries/veml3328_arduino_driver-main-2/src/veml3328.cpp:32:17: error: 'class TwoWire' has no member named 'swap'; did you mean 'sda'?
this->wire->swap(pin_swap);
^~~~
sda
In file included from /Users/marcovilla/Documents/libraries/veml3328_arduino_driver-main-2/src/veml3328.h:5,
from /Users/marcovilla/Documents/libraries/veml3328_arduino_driver-main-2/src/veml3328.cpp:1:
/Users/marcovilla/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/libraries/Wire/src/Wire.h: In member function 'uint16_t VEMLClass::read(uint8_t)':
/Users/marcovilla/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/libraries/Wire/src/Wire.h:127:13: note: candidate 1: 'uint8_t TwoWire::requestFrom(int, int)'
uint8_t requestFrom(int address, int size);
^~~~~~~~~~~
/Users/marcovilla/Library/Arduino15/packages/esp32/hardware/esp32/2.0.14/libraries/Wire/src/Wire.h:125:13: note: candidate 2: 'uint8_t TwoWire::requestFrom(uint8_t, uint8_t)'
uint8_t requestFrom(uint8_t address, uint8_t size);
^~~~~~~~~~~

exit status 1

Compilation error: exit status 1

@MauricioOrtega10
Copy link

I also have the same problem, have you been able to solve it?

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

2 participants