Labs/Lab6/Watkins_William_Lab6_Part2.c
// <editor-fold defaultstate="collapsed" desc="sendPotentiometer()">
/******************************************************************************
 * sendPotentiometer function
 *
 * Loads first byte into TXREG1
 ******************************************************************************/

sendPotentiometer function

Loads first byte into TXREG1
sendPotentiometer function Loads first byte into TXREG1
void sendPotentiometer() {
    TXREG1 = potSend[sendI];
    PIE1bits.TX1IE = 1;             
    sendI++;
}
void sendPotentiometer ( ) { TXREG1 = potSend [ sendI ] ; PIE1bits . TX1IE = 1 ; sendI ++ ; }
<editor-fold defaultstate="collapsed" desc="sendPotentiometer()">
 sendPotentiometer function
<editor - fold defaultstate = " collapsed " desc = " sendPotentiometer () " > sendPotentiometer function
// Enable EUSART1 Transmit interrupts