How can I calculate approximate cycles per second from pulsed pin on Arduino MKR Zero?
It is unclear exactly what you are trying to do, however the frequency generated by the code would be ~5Hz - corresponding to a period of 200mS