Menu

How to write a library

2021-04-24
2021-04-25
  • Mohammed Shalash

    Hi all
    Appreciate if some one tell me ho to write a library, is it standard code file ith .h extension or more than that?
    Thanks

     
  • stan cartwright

    stan cartwright - 2021-04-24

    If you look at any .h gcb file. ie #include files, they look complicated because they check
    many chip types and other parameters. This makes them universal for any pic/avr.
    It will have many if xxx then def depending on the device or hardware or software serial/spi.
    I would suggest write a subroutine to test and then make a library but it will need checking by the gcb people before it will be included in gcb.
    Please give more info

     
  • Mohammed Shalash

    THANKS

     

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.