// CONFIG3H
#pragma config CCP2MX = ALTERNATE// CCP2 MUX bit (CCP2 is multiplexed with RE7)
// #pragma config statements should precede project file includes.
// Use project enums instead of #define for ON and OFF.
#include <xc.h>
Please any advice would help me. Thanks in advance.
Beurk-Switzerland
Ttelmah
Joined: 11 Mar 2010 Posts: 19498
Posted: Fri Nov 03, 2017 1:50 am
Are you using CCS C?.
This is a forum for CCS C, not other C's. Though CCS C can use the syntax you are showing, what you are posting is the core syntax for another C like Microchip C.
xc.h is the Microchip header file, not the CCS one.
You need to be going to the Microchip forum....
The command to configure the LCD in CCS, is 'setup_lcd'....
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum