I am trying to simply send a set of characters from an atmega32 to a virtual terminal by UART protocol in Proteus.
This is my code: https://gist.github.com/cod-r/83af8bd8b633b7d7ce81e76e50e928e3
What my code is supposed to do: Every 3 seconds send the text "lab micro" to the terminal, but i only get a weird character on the terminal every 3 seconds (see atached photo and please ignore the LCD)
I am using a baud rate of 300bps, 8bit, 2bit stop, even parity.
I have checked every setup of the terminal and its the same as my code.
I tried using an external clock of 8mhz, as well as the internal clock, but no luck.
We tested the exact same code in my uC class with an easyAVR7 development board and everything was working fine.
I tried using another baud rate in the code, no parity, odd parity, 1 bit stop, I think i tried everything.