Automaticaly cast numbers to float in setBuzzerFrequencyOn()