I am trying to use TCS3200 color sensor for my project with De0 nano FPGA board. The output of TCS3200 is a square waveform and i am confused how to use that waveform for a particular task.
I searched over Google and found out that i have to measure the frequency of the output waveform so how to proceed with the Frequency measurement using Verilog Hdl.
I tried some logics for measuring the frequency like Using the up counter at rising edge and count till falling edge but this doesn't work .