USB Homework
Noah Smith
This lab is
using the Basys 3 board as a USB transfer layer.
Task 1:
An important
thing to note with this lab, if you have a fancy mechanical keyboard that
requires drivers to run and uses a different USB communication protocol, the Basys
3 board cannot detect it. I had to use a cheap keyboard for this lab and it worked great. Below is code for the first task as
well as a demonstration video.
Task 2:
For this
task we want to press a key on the keyboard and transmit it to the serial
monitor using UART communication protocol. This was done by creating an ASCII
map, using the UART_TX module and combining them together into the code seen below.