/*
הגדרת שני מערכים והשוואה בינהם*/
char otiot[4] = {'r', '$', '<', '3'};
char letters[4] = {'a', '$', '3', '3'};
void setup() {
Serial.begin(9600);
for (int i = 0; i < 4; i++) {
if (otiot[i] == letters[i]) {
Serial.print(i);
Serial.print(" : ");
Serial.println(otiot[i]);
}
}
}
void loop() {
// put your main code here, to run repeatedly:
}
Comments