Loop Problem

Hi,

I am using ID-20LA RFID reader for my project to measure hand hygiene compliance. However, some parts of my codes entered a loop it was not supposed to enter as it did not met the conditions. I placed several "Serial.Println()" statement to try and check whether the conditions are met.

Anyone know why the loop still ran despite the conditions not being met?

Thanks a lot.

What loop would that be as you have not posted your program. Before you do, read the advice in the stickies above about how to do it.

Don't post it like it was posted here

Anyone know why the loop still ran despite the conditions not being met?

My mystic mind reading powers says that you put a semi colon ; after the if statement.

Grumpy_Mike: My mystic mind reading powers says that you put a semi colon ; after the if statement.

You're getting quite good at this. :)