Why does the LED turn on after the while loop becomes false?

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.