< Computer Architecture Lab < SS2013
UART
Perform send and receive operations using the SimpCon UART interface.
Exercise 1
Transmit ASCII 0 or 1 whenever the led is turned on or off respectively. The led switched every half second. Therefore, 2 characters per second.
Exercise 2
Send as fast as the baudrate allows the repeated series of ASCII values 0 - 9.
Exercise 3
Receive from UART and turn on the led when a command is issued, in this case character '1'. The same for turning off the led (character '0' is the command in this case).
This article is issued from Wikiversity. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.