hello
i have some part of my program that is not working well.
the idea is to sample a 2V sine wave of various frequency and record down the max and min values
by right i should get around +2 and -2 for my max and min values
however at frequencies multiple of 5(5k,10k,15k...) i get a reading of 0.0628215 for my max and -0.0628215 for my min.all other frequencies have no such problem.
i tried changing the sampling time and rate but i still get a close to 0 result for frequencies at multiples of 5.
may i know what causes the problem and how can i resolve this?