Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I have tried both solutions given above by betwixt and easyrider83 to fix the error but haven't succeeded yet. please I'd appreciate if you give me a little example on how to resolve the issue. am quite a novice in coding programs
I have corrected the syntax as advised by betwixt, those lines are fine now the challenge lies on line 35,36,37....... Attached here is the error message I now get from the c18 compiler.
Yes I did put the header and other necessary files in place. I tried compiling a smaller code and it worked. Though it's my first time using c18 compiler
- - - Updated - - -
Yes I have it's actually refering to line two and if I comment out line two, line 6 to 18 becomes the challenge.
Here is the program
// Keypad module connections
char keypadPort at PORTB;
// End Keypad module connections
// LCD module connections
sbit LCD_RS at LATC4_bit;
sbit LCD_EN at LATC5_bit;
sbit LCD_D4 at LATC0_bit;
sbit LCD_D5 at LATC1_bit;
sbit LCD_D6 at LATC2_bit;
sbit LCD_D7 at LATC3_bit...
Hi,
i got a problem with my project..
I get a syntax error while compiling the program on mplab c18 , same program was compiled in another c program compiler and hex code generated but I only have access to
mplab c18.... can i get help to get the program compiled to hex file
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.