-
Notifications
You must be signed in to change notification settings - Fork 25
Description
When i'm trying to compile the detect example for the above library, arduino IDE gives out the following errors:
`
In file included from C:\Users\hamza\OneDrive\Documents\ArduinoData\packages\arduino\hardware\sam\1.6.12\cores\arduino/WCharacter.h:23:0,
from C:\Users\hamza\OneDrive\Documents\ArduinoData\packages\arduino\hardware\sam\1.6.12\cores\arduino/Arduino.h:191,
from C:\Users\hamza\OneDrive\Documents\Arduino\libraries\Goertzel_master\Goertzel.cpp:19:
C:\Users\hamza\OneDrive\Documents\Arduino\libraries\Goertzel_master\Goertzel.cpp:26:5: error: expected unqualified-id before numeric constant
int _N;
^
C:\Users\hamza\OneDrive\Documents\Arduino\libraries\Goertzel_master\Goertzel.cpp: In constructor 'Goertzel::Goertzel(float, float, float)':
C:\Users\hamza\OneDrive\Documents\Arduino\libraries\Goertzel_master\Goertzel.cpp:48:8: error: lvalue required as left operand of assignment
_N=MAXN;
^
C:\Users\hamza\OneDrive\Documents\Arduino\libraries\Goertzel_master\Goertzel.cpp:50:7: error: lvalue required as left operand of assignment
_N=N;
`
Any solution for such errors?