So:char mychar = getC();usually you have this inside of an interrupt on uart receive function so the microcontroller breaks out of its normal program when a char is sent to it otherwise it wouldnt know when there is a character available in the buffer