How to Access Class Properties in While Loop

Did you test it?

These lines

  // do sth
  print(".");

are executed only when the button is ON.

1 Like