Refresh time...Can anyone help me please??

You have defined refresh_rate as a float. All time on the Arduino is int based. You should not be mixing types like that.