A collection && comparison of methods for measuring frequency on the Arduino with credits