Using serial port in Microchip AVR microcontroller (formatted string IO)

preview_player
Показать описание
ECTE333 Microcontroller Architecture and Applications

Lab 2, Task 3: Sending and receiving formatted strings.

Write and test a C program for the Microchip AVR microcontroller that should
• let the user enter two integer numbers a and b, by typing into the HyperTerminal program.
• receive the two numbers through the serial port,
• perform integer operations, a + b, a - b, a × b and a/b,
• send the outputs to HyperTerminal program through the serial port.

Connection to the HyperTerminal program is to be established as 1200bps, 8 data bit, 1 stop bit, no parity bit, and flow control OFF.

(C) Son Lam Phung, University of Wollongong, 2022.
Рекомендации по теме
welcome to shbcf.ru