Speed no arduino

Good morning, could someone help me, I’m having difficulty creating a speed code on Arduino for a hall sensor that recognizes in realdashe, if anyone has an example that could help me please