Hi, I'm trying to make a frequency counter with displaying the result on LCD. I've been breaking my head on this one for almost a month now, can anybody take a look at it "from the side" and maybe see what mistakes I made. I shortened the program a bit so only 3 digits are supposed to be...
Thank you very much, Vhdl guy, I figured it out :)
Zentan, there is another, much simplier way to program the LCD, not making the code 1000 lines. Here is a quick, simple eexample of using arrays of vectors for that purpose. It's just an example, you can change the clock divider, if your lcd...
If I'm trying to make a counter for example:
process
variable count:integer range 0 to 1000;
begin
if (reset='1') then
count:=0;
elsif (clk'event and clk='1') then
if count=1000 then
count:=0
else count:=count+1
end if;
end if;
end process;
How can I make it stop after 1 sec of working, and...
VHDLguy, thanks for your help on the previous changes.
What I'm actually trying to do as the final is a frequency counter.
Along with all the synthesis problems, I have a big problems with loop statements.
Why does it always ask for "generate"?
How can I make the loop statement synthesisable...
I have problem with dinamically changing numbers in one character. It's no a problem with static, but i want them to change dinamically. Take a look at my simple code, it's rough, but it still doesn't work.
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use...
You have to make a command with the adress, usually it's in hex, change it to binary, and put it as an initialization command before the actual 2nd line but after 1st line.
Thank you for your help. I didn't work with LCD's a lot. I didn't really understood what the adress is and how to use it. I think the adress for C0 is 11000000 but then where do I have to put it to get the right result?
00111000 is the Function set for 2 lines.
Thank you.
Hi,I'm having a problem with displaying 16 characters on LCD L1671. I use 001110000 to make 2 lines. Does anybody have the problem? Is there a way to solve it.
Thanks a lot.
Hi, Zentan. I looked over your code. The code is perfectly fine
except one thing in the beginning:
if (RESET = '1')then
COUNT:=0
time_count:= 0
RW<= '0'
RS<= '0'
EN<= '0'
LCD<= "00000001";
there has to be 1 in the end.
The reason why your program doesn't work,95%...
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.