Browse Source

Fix to 220ms

master
Igor Beloschapkin 3 years ago
parent
commit
95508d7736
1 changed files with 7 additions and 7 deletions
  1. 7
    7
      tactile_eeg_local/tactile_eeg_local.ino

+ 7
- 7
tactile_eeg_local/tactile_eeg_local.ino View File

#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>


/* Firmware v1.4 17.03.2021
/* Firmware v1.41 17.03.2021
* Igor Beloschapkin * Igor Beloschapkin
* beloschapkinig61248@th-nuernberg.de * beloschapkinig61248@th-nuernberg.de
*/ */
{ {
case '6': case '6':
digitalWrite(PIN_TAC6, HIGH); digitalWrite(PIN_TAC6, HIGH);
delay(200);
delay(220);
digitalWrite(PIN_TAC6, LOW); digitalWrite(PIN_TAC6, LOW);
break; break;
case '5': case '5':
digitalWrite(PIN_TAC5, HIGH); digitalWrite(PIN_TAC5, HIGH);
delay(200);
delay(220);
digitalWrite(PIN_TAC5, LOW); digitalWrite(PIN_TAC5, LOW);
break; break;
case '4': case '4':
digitalWrite(PIN_TAC4, HIGH); digitalWrite(PIN_TAC4, HIGH);
delay(200);
delay(220);
digitalWrite(PIN_TAC4, LOW); digitalWrite(PIN_TAC4, LOW);
break; break;
case '3': case '3':
digitalWrite(PIN_TAC3, HIGH); digitalWrite(PIN_TAC3, HIGH);
delay(200);
delay(220);
digitalWrite(PIN_TAC3, LOW); digitalWrite(PIN_TAC3, LOW);
break; break;
case '2': case '2':
digitalWrite(PIN_TAC2, HIGH); digitalWrite(PIN_TAC2, HIGH);
delay(200);
delay(220);
digitalWrite(PIN_TAC2, LOW); digitalWrite(PIN_TAC2, LOW);
break; break;
case '1': case '1':
digitalWrite(PIN_TAC1, HIGH); digitalWrite(PIN_TAC1, HIGH);
delay(200);
delay(220);
digitalWrite(PIN_TAC1, LOW); digitalWrite(PIN_TAC1, LOW);
break; break;
case '0': case '0':

Loading…
Cancel
Save