Error [1204]

Status
Not open for further replies.

butters

Member
Code:
ADCON1 = 0x0F;
TRISCbits.TRISC5 = 0;

//LED
TRISB = 0;



 Open1USART(USART_TX_INT_OFF &
             USART_RX_INT_ON &
             USART_ASYNCH_MODE &
             USART_EIGHT_BIT &
             USART_CONT_RX &
             USART_BRGH_HIGH, 25);



while(!DataRdy1USART());
 a=getc1USART() ; 
    a++;
while (Busy1USART());
	//value sent
	putc1USART(a);


when i compile, i receive this error. Error [1204] too many arguments in function call?

can anybody tell me what happen?
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…