Code: Select all
Servo controller.c: myisr()
1237: {MX_UINT8 ptmp = (1); FCP_TRIS_B &= ~0x2; (ptmp) ? (FCP_PORT_B = FCP_PORT_B | 0x2) : (FCP_PORT_B = FCP_PORT_B & ~0x2);};
^ (192) undefined identifier "FCP_TRIS_B"
(192) undefined identifier "FCP_PORT_B" ^
1253: {MX_UINT8 ptmp = (1); FCP_TRIS_B &= ~0x4; (ptmp) ? (FCP_PORT_B = FCP_PORT_B | 0x4) : (FCP_PORT_B = FCP_PORT_B & ~0x4);};
^ (192) undefined identifier "FCP_TRIS_B"
(192) undefined identifier "FCP_PORT_B" ^
1269: {MX_UINT8 ptmp = (1); FCP_TRIS_B &= ~0x8; (ptmp) ? (FCP_PORT_B = FCP_PORT_B | 0x8) : (FCP_PORT_B = FCP_PORT_B & ~0x8);};
^ (192) undefined identifier "FCP_TRIS_B"
(192) undefined identifier "FCP_PORT_B" ^
1285: {MX_UINT8 ptmp = (1); FCP_TRIS_B &= ~0x10; (ptmp) ? (FCP_PORT_B = FCP_PORT_B | 0x10) : (FCP_PORT_B = FCP_PORT_B & ~0x10);};
^ (192) undefined identifier "FCP_TRIS_B"
(192) undefined identifier "FCP_PORT_B" ^
1301: {MX_UINT8 ptmp = (1); FCP_TRIS_B &= ~0x20; (ptmp) ? (FCP_PORT_B = FCP_PORT_B | 0x20) : (FCP_PORT_B = FCP_PORT_B & ~0x20);};
^ (192) undefined identifier "FCP_TRIS_B"
(192) undefined identifier "FCP_PORT_B" ^
1317: {MX_UINT8 ptmp = (1); FCP_TRIS_B &= ~0x40; (ptmp) ? (FCP_PORT_B = FCP_PORT_B | 0x40) : (FCP_PORT_B = FCP_PORT_B & ~0x40);};
^ (192) undefined identifier "FCP_TRIS_B"
(192) undefined identifier "FCP_PORT_B" ^
1333: {MX_UINT8 ptmp = (1); FCP_TRIS_B &= ~0x80; (ptmp) ? (FCP_PORT_B = FCP_PORT_B | 0x80) : (FCP_PORT_B = FCP_PORT_B & ~0x80);};
^ (192) undefined identifier "FCP_TRIS_B"
(192) undefined identifier "FCP_PORT_B" ^
1454: {MX_UINT8 ptmp = (0); FCP_TRIS_B &= ~0x2; (ptmp) ? (FCP_PORT_B = FCP_PORT_B | 0x2) : (FCP_PORT_B = FCP_PORT_B & ~0x2);};
^ (192) undefined identifier "FCP_TRIS_B"
(192) undefined identifier "FCP_PORT_B" ^
1470: {MX_UINT8 ptmp = (0); FCP_TRIS_B &= ~0x4; (ptmp) ? (FCP_PORT_B = FCP_PORT_B | 0x4) : (FCP_PORT_B = FCP_PORT_B & ~0x4);};
^ (192) undefined identifier "FCP_TRIS_B"
(192) undefined identifier "FCP_PORT_B" ^
1486: {MX_UINT8 ptmp = (0); FCP_TRIS_B &= ~0x8; (ptmp) ? (FCP_PORT_B = FCP_PORT_B | 0x8) : (FCP_PORT_B = FCP_PORT_B & ~0x8);};
^ (192) undefined identifier "FCP_TRIS_B"
(192) undefined identifier "FCP_PORT_B" ^
Servo controller.c: 1502: too many errors (21)
(908) exit status = 1
(908) exit status = 1
C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe reported error code 1
Servo connected to port C2