B butters Member Oct 13, 2009 #1 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: Oct 13, 2009
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?