is set a space code is entered into the queue whenever codes are present in the queue and the uart is ready to send a code to the host computer the microcontroller removes a code from the queue the code is processed according to the sequence portrayed in flowchart form in fig3 this sequence recognizes if the first two codes processed after a word separator character such as a space are identical lower case alphabetic characters and replaces the two identical lower case alphabetic characters with a single corresponding upper case character the sequence is entered every 25 milliseconds if a transmit buffer of the uart is empty if the queue is empty no further processing takes place if a state register is in state 0 indicating that the last key code processed was not an alphabetic character the key code on the queue is removed from the queue and tested to determine if it is an alphabetic character non alphabetic character key codes are placed into the uart transmit buffer while any alphabetic character is placed in a buffer in the microcontroller 39 s memory and the state register set to state 1 if the state register is 1 the next pending key code on the queue is compared to the key code in the buffer if a match is found the key code is.