Removed suggestion from comment

This commit is contained in:
William Miceli
2021-06-08 17:21:42 -04:00
parent 9a150dbd90
commit 0d0893a9b0

View File

@@ -71,11 +71,15 @@ void usci_A2_disableInterrupt(void){
void usci_A2_transmitChar(char charToTransmit){ void usci_A2_transmitChar(char charToTransmit){
while((UCA2IFG & UCTXIFG) == 0){ // If the USCI module is not yet ready for the next value to transmit, wait indefinitely while((UCA2IFG & UCTXIFG) == 0){ // If the USCI module is not yet ready for the next value to transmit, wait indefinitely
_NOP(); // Processor will do nothing until loop exits; should be converted to interrupt in the future _NOP(); // Processor will do nothing until loop exits
} }
UCA2TXBUF = charToTransmit; // When USCI module signals that it is ready, the next character value is moved into the transmit buffer UCA2TXBUF = charToTransmit; // When USCI module signals that it is ready, the next character value is moved into the transmit buffer
} }
char usci_A2_receiveChar(void){
}
/*************************************************************************/ /*************************************************************************/