Home Forums MikroC Pro for PIC Project Discussions project syntax error with mplab c18 compiler

This topic contains 2 replies, has 2 voices, and was last updated by  Bitahwa Bindu 2 weeks, 3 days ago.

  • Author
    Posts
  • #2696

    bethel
    Participant

    Please I downloade one of your projects which is written with Mikroc compiler but my challenge is am using mplab c18 compiler. I get syntax error while compiling and am quite a novice in c programming. would love you to assist me in providing the code to be compiled in mplab c18.
    I look forward to hearing from you.
    Thanks

    Attachments:
    You must be logged in to view attached files.
  • #2698

    bethel
    Participant

    Please I really need help on this project would have gone ahead to use the provided hex file for the project but my challenge is I was unable to get the pic18f45k22 used in the project rather I got pic18f4550 which would need a little adjusting in the pin connection (pin 18 of pic connected to pin 14 of LCD) it didn’t work on Proteus when I swapped the Microcontroller cos pin 18 of pic18f4550 is dedicated to USB function. Please advise me on what to do to get the c program compiled in mplabc18

  • #2699

    Bitahwa Bindu
    Keymaster

    Hi, This is the same project using MPLAB XC8 compiler. You can download the code at the bottom of the page: http://www.studentcompanion.co.za/automatic-temperature-control-system-using-pic-microcontroller-xc8/

    All the explanations are on YouTube: https://youtu.be/cPigAoimpX8

     

You must be logged in to reply to this topic.