That is just the timing, as I was unable to get ms resolution with shell script I think. I could look more into that, I remember it was possible and didn't work, but I guess raspian should probably have that. I can try either that or just a python script then.