Send frequency value to Arduino.