![](img/task1Vi.PNG)
Figure
1 - screenshot of code written in Vim to send data to serial monitor
and show number of times button pressed on the 7-segment display.
![](img/task1Pic.jpg)
Figure 2 - After pressing button 7 times, 7 is displayed on the 7-segment display as expected.
![](img/UartTxVi.PNG)
Figure 3 - screenshot of code written in Vim to send ASCII letters to the Arduino IDE's serial monitor.
![](img/UartTxMon.PNG)
Figure 4 - Screenshot of serial monitor after pressing the button on the basys board several times.
![](img/UartRxVi.PNG)
Figure 5 - Screenshot of code in Vim to receive data sent using UART from Tera Terminal.
![](img/Task3_1.jpg)
Figure 6 - Photo of the basys board after receiving ASCII '5' from the Tera Terminal.
![](img/Task3_2.jpg)
Figure 7 - Photo of the basys board after receiving ASCII '6' from the Tera Terminal