Hi guys,
I am trying to get the LDC1612 working with the XIAO BLE but as soon as i include the seeed ldc library it wont let me compile. The Sensor works fine with my mega 2560 board.
The error i get compiling is:
In file included from C:\Users\rud\Documents\Arduino\libraries\Seeed_LDC1612-master\examples\basic_demo\basic_demo.ino:32:
C:\Users\rud\Documents\Arduino\libraries\Seeed_LDC1612-master/Seeed_LDC1612.h:60:3: error: conflicting declaration ‘typedef enum err_t err_t’
60 | } err_t;
| ^~~~~
In file included from C:\Users\rud\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.1\cores\nRF5/Arduino.h:26,
from sketch\basic_demo.ino.cpp:1:
C:\Users\rud\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.1\cores\nRF5/wiring_constants.h:71:18: note: previous declaration as ‘typedef uint32_t err_t’
71 | typedef uint32_t err_t;
| ^~~~~
exit status 1
Fehler beim Kompilieren für das Board Seeed XIAO nRF52840.
Help would be much appreciated.
Kind regards
edit: just tried it with the mbed firmware and it works… weird!