arduino - Is there a reason this break statement doesn't break out of the for loop? -


i'm going crazy. know loop entered, there must i'm doing prevents break exiting loop. ideas?

for (int j = 0; j < 12; j++) {   if (users[i][1][j] != arr[j]){     serial.println("mismatch");     break;   }   else if (j == 11){     serial.println("entire card read correctly");     return i;   } } 

for loop - break nonfunctional

the code being reentered outside loop.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -