I am ready for some abuse now. I have an int I define as volatile in two files in my AtmelStudio 7 project. It seems to work. Is the correct way to do this to define the variable as int in one file and extern int in the other. The first file contains my main() and the second file contains my UART_Transmit_Byte. My UART is initialized as asynchronous.