Connect with us

mplab libaray

Discussion in 'Microcontrollers, Programming and IoT' started by kingrosekhan123, May 1, 2013.

Scroll to continue with content
  1. kingrosekhan123

    kingrosekhan123

    19
    0
    Apr 14, 2013
    can anyone tell me how to make own library in MPLAB and how to use.
    because i'm so much tired to write many lines repeatedly.
    please give me tutorial..

    kingrosekhan123...
     
  2. BobK

    BobK

    7,682
    1,688
    Jan 5, 2010
    Have you tried the help in MPLAB?

    Bob
     
  3. kingrosekhan123

    kingrosekhan123

    19
    0
    Apr 14, 2013
    yes.but didnt understand....

    rose.........
     
  4. BobK

    BobK

    7,682
    1,688
    Jan 5, 2010
    Actually I have never created a library myself in MPLAB. I generally copy source code and modify it for the next project.

    Bob
     
  5. kingrosekhan123

    kingrosekhan123

    19
    0
    Apr 14, 2013
    from where you copy and modify??
     
  6. BobK

    BobK

    7,682
    1,688
    Jan 5, 2010
    From a previous project, or find the code online.


    Bob
     
  7. gorgon

    gorgon

    603
    24
    Jun 6, 2011

    Are you programming in assembler or C?

    If you need to rewrite every time you use a bit of code, you should get your self a proper editor. One with possibility to open more the one file at the time, and good coppy/ paste commands.

    If you want to make your own code files, the simplest way is to include the file in question in the program file you make.

    If you want to make a multi source file system, you'll need to make a form of make file or linker command file, depending on what your program language is.
     
  8. kingrosekhan123

    kingrosekhan123

    19
    0
    Apr 14, 2013
    i m using C language
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-