Quick question that I had a hard time finding in the documentation.
I am trying to do a while loop
that will last for an specific amount of time (like 500ms). How quickly could it do one loop? Every loop will not do a big task, but just read if the light intensity of a sensor is higher than 630nm.
could it work to put every iteration as 1ms?
I am writing in NXC, which is pretty similar to C, I guess...