Hi,
I am trying to implement an integrator but when it is reaching the maximum it is not saturating but resetting and starting again from 0.
Here is the part of the code which is relevant:
INTEGRATION := INTEGRATOR + T_DIFF + (T_DIFF & "000000000") - (T_DIFFPRE & "000000000");
IF INTEGRATION...
Thanks to both of you for your reply.
BertVhdl I did something similar to what you said and now everything seems to work fine, the humidity in my room right now is 73% lol.
Thanks again
Neil
Hi,
I have a humidity sensor which gives a square wave as an output. I want to read the frequency of the square wave. I am using VHDL.
What I did till now is a 1 second timer and then I am trying to read how many positive edges are there in that one second, but till now I am getting only...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.