This project implements a system that includes a client-side (PC) and a server (MSP430 microcontroller). The PC side includes a menu. The server side includes a microcontroller. The communication between both sides is made with UART.
The topic of this Lab is UART. The menu includes the following options:
- Blink RGB LED, color by color with a delay of x. (state1)
- Count up onto the LCD screen with a delay of x, the value of the count is saved between states. (state2)
- Circular tone series via Buzzer with a delay of x, the series of the tones is [1,1.25,1.5,1.75,2,2.25,2.5] all in units of kHz. (state3)
- Set delay time x. (state4)
- Print LDR 3-digit value onto LCD (in volts) (dynamically). (state5)
- Clear the LCD screen and initialize the value of the count in state 2. (state6)
- Show the menu on the PC screen. (not an C state, only in PC side)
- Sleep mode. (state0)
Important
The default value of x is 500 and the units are ms
add option as follows,