C# Frequency Generator Arduino Controller