Forum Discussion
7 Replies
- Altera_Forum
Honored Contributor
First, how do you connect the keyboard or keypad. Just buttons is easiest. For each button a GPIO pin and then you could just read that. Another option is to use protocols like PS/2 or USB. I have some experience in designing hardware for PS/2 and if you only want to read the design is relatively simple. I have no idea how to use USB. There might be a design in the IP catalogue you can use.
- Altera_Forum
Honored Contributor
thank sir
but i don't know how to write VHDL code for this time set with keypad or keyboard. if you don't mind, can you explain me more? no matter ps/2 or usb sir - Altera_Forum
Honored Contributor
Well, you have a module that reads input from the keyboard/pad.
You will have to find out which type of character encoding is used and than you have to convert this to a number. This number can be used as input to set the time. - Altera_Forum
Honored Contributor
thanks sir
can you share me the link to read. i don't know where i can get it. - Altera_Forum
Honored Contributor
I don't have any links to this. I have some books on my shelf concerning protocols etc.
But I imagine you'll find the same information if you use your favorite web search engine. - Altera_Forum
Honored Contributor
i still don't know how to do it sir :(
- Altera_Forum
Honored Contributor
Where do you get stuck?