#define Startx 2
#define Resetx 3
#define S2x 4
#define S3x 5
#define S4x 6
#define S5x 7
#define B1x 8
#define B2x 9
#define L1x 10
#define Q1 14
#define Q2vx 15
#define Q2rx 16
#define YY1 17
#define Y1 18
#define Y2 19
int schritt,startwert1,startwert2;
bool S1,S2,S3,S4,S5,Start,Reset,1B1,1B2,L1;
void setup() {
Serial.begin(9600);
pinMode(Startx, INPUT_PULLUP);
pinMode(Resetx, INPUT_PULLUP);
pinMode(S2x, INPUT_PULLUP);
pinMode(S3x, INPUT_PULLUP);
pinMode(S4x, INPUT_PULLUP);
pinMode(S5x, INPUT_PULLUP);
pinMode(B1x, INPUT_PULLUP);
pinMode(B2x, INPUT_PULLUP);
pinMode(L1x, INPUT_PULLUP);
pinMode(Q1, OUTPUT);
pinMode(Q2vx, OUTPUT);
pinMode(Q2rx, OUTPUT);
pinMode(YY1, OUTPUT);
pinMode(Y1, OUTPUT);
pinMode(Y2, OUTPUT);
int schritt =0;
}
void loop() {
// put your main code here, to run repeatedly:
}
S2
1B2
1B1
L1
S4
S5
S3
S0
S1