You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: