Is it possible to have an LED turn on for half a second and then turn off for half a second, while simultaneously running a PING sensor taking distance reading every tenth of a second?
If so, how would I do this?
I tried to achieve this, but I ended up with the PING sensor taking 1 reading, then delays for .1 seconds, then the light turns on for .5 seconds, then turns off for .5 seconds, and then takes another reading.