Forum Discussion
Altera_Forum
Honored Contributor
15 years agoVHDL timer
hi, how can I write a program for a timer which Measures a pulse width that represents of range.i'm using un ultrasonic sensor, The distance can be calculated using the scale factor of 147u...
Altera_Forum
Honored Contributor
15 years agook....i think it's ok
thx alot and i think the clk input will be the sensor output (pulse width) am i right? after that i have to add some operations to the code cuz this value is gonna be converted to distance...