In my program, “values” is an array of doubles.
I wrote this code:
if(eegBuffer > 1200 && i<3)
the problems is once I blink it updates in one time the whole array since the program is faster than my blink.
Then for instance, in one blink the array will be:
values = 1200
values = 1250
values = 1280
Anyone has any idea how to catch a separate value every time?