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 while running the file, i have attached error displayed #30

Open
nikky725 opened this issue Jan 26, 2019 · 1 comment
Open

error while running the file, i have attached error displayed #30

nikky725 opened this issue Jan 26, 2019 · 1 comment

Comments

@nikky725
Copy link

In file included from C:\Users\Nikitha_Ramana\Documents\Arduino\libraries\ADS1299/ADS1299.h:10:0,

             from C:\Users\Nikitha_Ramana\Documents\Arduino\sketch_jan25a\sketch_jan25a.ino:2:

C:\Users\Nikitha_Ramana\Documents\Arduino\libraries\Definitions/Definitions.h: In function 'void setup()':

Definitions.h:1:14: error: a function-definition is not allowed here before '{' token

void setup() {

          ^

C:\Users\Nikitha_Ramana\Documents\Arduino\sketch_jan25a\sketch_jan25a.ino: At global scope:

sketch_jan25a:4:3: error: 'ADS1299' does not name a type

ADS1299 ADS;

^

C:\Users\Nikitha_Ramana\Documents\Arduino\sketch_jan25a\sketch_jan25a.ino: In function 'void setup()':

sketch_jan25a:5:6: error: redefinition of 'void setup()'

void setup() {

  ^

In file included from C:\Users\Nikitha_Ramana\Documents\Arduino\sketch_jan25a\sketch_jan25a.ino:2:0:

C:\Users\Nikitha_Ramana\Documents\Arduino\libraries\ADS1299/ADS1299.h:1:6: note: 'void setup()' previously defined here

void setup() {

  ^

sketch_jan25a:7:3: error: 'ADS' was not declared in this scope

ADS.initialize(8,9,10,4); // (DRDY pin, RST pin, CS pin, SCK frequency in MHz);

^

Multiple libraries were found for "ADS1299.h"
Used: C:\Users\Nikitha_Ramana\Documents\Arduino\libraries\ADS1299
Not used: C:\Users\Nikitha_Ramana\Documents\Arduino\libraries\spi
Multiple libraries were found for "Definitions.h"
Used: C:\Users\Nikitha_Ramana\Documents\Arduino\libraries\Definitions
Not used: C:\Users\Nikitha_Ramana\Documents\Arduino\libraries\spi
exit status 1
a function-definition is not allowed here before '{' token

@rohithkumarrk
Copy link

Greetings !
I am developing a project of EEG Kit (8 channel) using ADS1299 MMBO board interfaced with Arduino UNO board. I have done the Code for Reading Registers and SPI works Perfectly and somewhere am able to read the Raw EEG Data. Can someone please help me to Use BrainBay and Read perfectly accurate Brain Signal using only BrainBay. Since it is one of the best Application to plot the EEG Graph.
Also what type of filters should be used and the arduino code also.
Mainly , if a pre written Arduino code is available , please provide me along with the steps to use 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