how to set LED frequency?

So how that device https://youtu.be/opnn7VybOlI could go 300Hz per second?

Maybe they used delayMicroseconds :smiley: