Menu

[SDCC 4.4.0RC3] Does anyone have a basic 16F819 Blink led example for MPLABX V6.15?

Help
2024-02-11
2024-03-09
  • David Briscoe

    David Briscoe - 2024-02-11

    Hi,
    I'm new to SDCC and this forum. I'd like to get some experience with using PIC16F819 with SDCC 4.4.0RC3 and MPLABX 6.15. Does anyone have a basic LED blinking example they can share? Thanks.

    David.

     
    • Benedikt Freisen

      You could have a look at https://github.com/diegoherranz/sdcc-examples.
      It should still be reasonably up to date, considering that SDCC's PIC backends have been largely unmaintained for about a decade or so.
      Coincidentally, there were however some meaningful contributions to the PIC16 backend in the last couple of weeks, such as [patches:#471] and[patches:#472], so it might make sense to use a recent snapshot instead of 4.4.0RC3.

       

      Related

      Patches: #471
      Patches: #472

      • Jonathon Hall

        Jonathon Hall - 2024-03-09

        16F819 is a 14-bit instruction set device, so that would need the pic14 backend. I've only been working on the pic16 backend (16-bit instructions for PIC18 devices). The naming is kind of confusing.

         

Log in to post a comment.