Home /
Expert Answers /
Computer Science /
can-you-do-in-assembly-or-c-using-vitis-software-1-control-one-of-the-on-board-rgb-leds-by-sending-pa840
(Solved): Can you do in assembly or C using Vitis software 1) Control one of the on-board RGB LEDs by sending ...
Can you do in assembly or C using Vitis software
1) Control one of the on-board RGB LEDs by sending one 8-bit number for each of the three LEDs in the RGB package over a UART/COM port. Your program should send a prompt to the terminal (R, G, or B), and in response, you should type in a value and send it. Show the most recently sent value on the seven-segment display 2) Control a second RGB LED by setting the color with values read from the on-board ADC and potentiometer. The lowest values from the ADC should turn off the RGB completely, and the highest values from the ADC should turn on the RGB completely. In between, drive the three LEDs from the ADC code in whatever manner you choose.