- Joined
- Jun 22, 2009
- Messages
- 1
- Reaction score
- 0
there is anyone can show me an example how to use Xilinx spartan 3an rotary encoder.
just simple vhdl project when rotary turn right then led display sift to right.
Im trying so many ways and the state never change from initial state.
thx before
rotary works
clkwise rot_a = '1' rot_b = '1'
rot_a = '0' rot_b = '1'
rot_a = '0' rot_b = '0'
rot_a = '1' rot_b = '0'
rot_a = '1' rot_b = '1'
I use if inside if until all condition is covered. and didnt works
just simple vhdl project when rotary turn right then led display sift to right.
Im trying so many ways and the state never change from initial state.
thx before
rotary works
clkwise rot_a = '1' rot_b = '1'
rot_a = '0' rot_b = '1'
rot_a = '0' rot_b = '0'
rot_a = '1' rot_b = '0'
rot_a = '1' rot_b = '1'
I use if inside if until all condition is covered. and didnt works
Last edited: