Menu

Hex File Error - Help Need Please

KanKan
2024-03-26
2024-04-04
  • KanKan

    KanKan - 2024-03-26

    Hello! I'm trying to make two motors spin forward and backward to a photo-transistor reading.

    However, I keep running into issues when verifying (and compiling) my code onto the PIC chip (16F18875). I've compared my code with others building the same project, and can't seem to find the issue/error. Could someone please help?

    I have attached the hex file below, as well as a screenshot of my code. Thank you.

     
  • Anobium

    Anobium - 2024-03-26

    We can help with the source GCB and the ASM file not the HEX. :-)

     
    • KanKan

      KanKan - 2024-03-27

      I see, thank you for letting me know! I will keep trying to find the issue. On that note, are there any obvious (or maybe not so obvious) errors in the GCB code, as shown in the screenshot? Thank you again :)

       
      • Anobium

        Anobium - 2024-03-27

        Cannot see anything obvious in your source, but, I post the GCB source file, and, add #OPTION EXPLICIT to your program. That will ensure you do not have a typo.

         
        • KanKan

          KanKan - 2024-04-04

          Hey, I apologise for the late response, I found my issue! Turns out it was in the hardware, not the software.... Thank you so much for helping anyways, I hope you have a great day.

          • Cheers :D
           
          👍
          1

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.