DE2-115: User Manual
DE2-115: User Manual
DE2-115: User Manual
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
HEX0<br />
HEX1<br />
HEX2<br />
HEX3<br />
Low byte of X displacement<br />
High byte of X displacement<br />
Low byte of Y displacement<br />
High byte of Y displacement<br />
Figure 6-17 illustrates the setup of this demonstration.<br />
Figure 6-17 The setup of the PS/2 Mouse demonstration<br />
6.9 IR Receiver Demonstration<br />
In this demonstration, the key-related information that the user has pressed on the remote<br />
controller(Figure 6-18,Table 6-3) will be displayed on the <strong>DE2</strong>-<strong>115</strong> board. <strong>User</strong>s only need to<br />
point the remote controller to the IR receiver on <strong>DE2</strong>-<strong>115</strong> board and press the key. After the signal<br />
being decoded and processed through FPGA, the related information will be displayed on the<br />
7-segment displays in hexadecimal format, which contains Custom Code, Key Code and Inversed<br />
Key Code. The Custom Code and Key Code are used to identify a remote controller and key on the<br />
remote controller, respectively.<br />
Next we will introduce how this information being decoded and then displayed in this demo.<br />
When a key on the remote controller is pressed, the remote controller will emit a standard frame,<br />
shown in Figure 6-19. The beginning of the frame is the lead code represents the start bit, and then<br />
is the key-related information, and the last 1 bit end code represents the end of the frame.<br />
96