hola a todos, estoy compilando el siguiente codigo con mplab x
OpenTimer1(Tx_ON | T1_TMWDIS_OFF | Tx_IDLE_STOP | Tx_GATE_OFF | Tx_PS_1_1, 0);
ConfigIntTimer1(Tx_INT_ON | Tx_INT_PRIOR_0);
y me bota el siguiente error:
main.c:57:16: error: 'Tx_ON' undeclared (first use in this function)
OpenTimer1(Tx_ON | T1_TMWDIS_OFF | Tx_IDLE_STOP | Tx_GATE_OFF | Tx_PS_1_1, 0);
^
main.c:57:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:57:40: error: 'Tx_IDLE_STOP' undeclared (first use in this function)
OpenTimer1(Tx_ON | T1_TMWDIS_OFF | Tx_IDLE_STOP | Tx_GATE_OFF | Tx_PS_1_1, 0);
^
main.c:57:55: error: 'Tx_GATE_OFF' undeclared (first use in this function)
OpenTimer1(Tx_ON | T1_TMWDIS_OFF | Tx_IDLE_STOP | Tx_GATE_OFF | Tx_PS_1_1, 0);
^
main.c:57:69: error: 'Tx_PS_1_1' undeclared (first use in this function)
OpenTimer1(Tx_ON | T1_TMWDIS_OFF | Tx_IDLE_STOP | Tx_GATE_OFF | Tx_PS_1_1, 0);
^
main.c:58:21: error: 'Tx_INT_ON' undeclared (first use in this function)
ConfigIntTimer1(Tx_INT_ON | Tx_INT_PRIOR_0);
^
main.c:58:33: error: 'Tx_INT_PRIOR_0' undeclared (first use in this function)
ConfigIntTimer1(Tx_INT_ON | Tx_INT_PRIOR_0);
no se porque sale si asi esta en la libreria que estara mal? les agradesco la ayuda