But I have a problem, when I’m trying to compile the whole code this error appear everythime:
Arduino: 1.8.8 (Windows 10), Board: "Arduino/Genuino Uno"
Kalman.h:18:7: error: redefinition of 'class Kalman'
class Kalman {
^
In file included from C:\Users\Rares\Documents\Arduino\var2\var2.ino:1:0:
C:\Users\Rares\Documents\Arduino\libraries\libraries\Kalman_Filter_Library/Kalman.h:21:7: error: previous definition of 'class Kalman'
class Kalman {
^
exit status 1
redefinition of 'class Kalman'
The code uses 2 libraryes:
Kalman, from where the error provide and I2C.
I attached the libraries and the main code.
Can anyone help me? Any ideea? Please.
Sorry if I said something wrong, I’m still learning
The files may be visible but what about their extensions ? .ino .h etc
Look at the file named Kalman Should it be a .h or a .ino file. My guess is that you have "hide file types" turned on so what you see is Kalman.h whereas its name is really Kalman.h.ino so is an ino file