summaryrefslogtreecommitdiff
path: root/eeg.ino
diff options
context:
space:
mode:
Diffstat (limited to 'eeg.ino')
-rw-r--r--eeg.ino4
1 files changed, 1 insertions, 3 deletions
diff --git a/eeg.ino b/eeg.ino
index b228bf6..3bd91c5 100644
--- a/eeg.ino
+++ b/eeg.ino
@@ -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");
}