enabled the ability to set sample rate, default is 3[mhz]