Adding a new GetFrequency method - AnalogInput