Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHC-SR04 (ultrasonic sensor) verilog code help
Hi, for my project i have to interface the HC-SR04 (ultrasonic sensor) to my DE2-115 board. I have been struggling with the verilog code for a while. Can anyone please help me out with the code? T...
Altera_Forum
Honored Contributor
11 years agoFirst, please post your code between code tags. Second, what is your clock speed 500 kHz? I myself cannot write Verilog, only read it with effort, but it seems your basic idea is ok.
[edit]Oh, and aside from using code tags, please use indentations. [/edit]