PIC 16F876A hex file

EngrJidiqBhai

EngrJidiqBhai

@engrjidiqbhai-8yfhLZ Oct 21, 2024
I have a project on PIC16F876A micro controller, I have the complete coding in .txt and .c files and I want the .hex file for it.
I have tried MPLab and PCW and I get some errors in compilation so can anyone help me in this regard.
I am attaching the the .txt file of the coding and if some one can create the .hex for me I will be very thankful..
Thanks...

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Harshad Italiya

    Harshad Italiya

    @harshad-ukH5ww May 11, 2012

    Can you post the screenshot of the error while you are compiling the code.
  • EngrJidiqBhai

    EngrJidiqBhai

    @engrjidiqbhai-8yfhLZ May 12, 2012

    ok
    Here is the screenshot of the errors that I am getting,,,
  • Harshad Italiya

    Harshad Italiya

    @harshad-ukH5ww May 13, 2012

    EngrJidiqBhai
    ok
    Here is the screenshot of the errors that I am getting,,,
    There is some issue with your Header and include files. I haven't used MiKroC but I will give it a try into MPLAB and if possible will compile same code in MikroC also.
  • Harshad Italiya

    Harshad Italiya

    @harshad-ukH5ww May 15, 2012

    All these errors and warning are related DIRECTIVES you have used. Do you have written this code by yourself or copied from any source?
    Seems the code written is not for MikroC compiler as Directives you had used are not allowed in MikroC.
  • EngrJidiqBhai

    EngrJidiqBhai

    @engrjidiqbhai-8yfhLZ May 16, 2012

    godfather
    All these errors and warning are related DIRECTIVES you have used. Do you have written this code by yourself or copied from any source?
    Seems the code written is not for MikroC compiler as Directives you had used are not allowed in MikroC.
    Its copied from internet...
    Now what to do ???
  • Harshad Italiya

    Harshad Italiya

    @harshad-ukH5ww May 16, 2012

    EngrJidiqBhai
    Its copied from internet...
    Now what to do ???
    Check for which IDE this code is written from the source you copied code. Or go through the code and convert it for MikroC.