I am new to Arduino and working on a project in which I have to measure train speed using 2 Inductive senosrs.
I have 2 Inputs.
Output should be 5 bit Binary code.
I am getting Speed measurement in decimal values.
I tried to convert it in Binary but its showing always 8 bits.
Is there any way to get output exactly 5 bit Binary coded.
I have attached my code below.
Thank you very much
Geschwindigkeitmessung.ino (1.17 KB)