diff options
Diffstat (limited to 'eeg.ino')
-rw-r--r-- | eeg.ino | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -190,7 +190,6 @@ void setup() { const int hist_width=3; const int hist_pad=1; -int samples_delay; byte attention, meditation, quality; int hist_height[8]; @@ -218,10 +217,9 @@ void loop() { hist_height[x] = power[x] * 30 / max_value; } - if (quality < 10 && ++samples_delay > 5) { + if (quality < 10) { keepon.pan(attention); keepon.tilt(meditation); - samples_delay=0; uView.setCursor(5,0);uView.print("sent"); } |