|
|
|
|
|
|
|
|
#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': |