Forums MPLAB XC8 Project Discussions mplab cx8 project error

This topic contains 1 reply, has 2 voices, and was last updated by  Bitahwa Bindu 4 weeks, 1 day ago.

  • Author
    Posts
  • #3257

    zahid_faheem
    Participant

    i did everything in the turorial lcd lesson and i also downloaded and installed the peripheral libraries and did everythinig told in lesson 22 but the program still gives errors.

    Attachments:
    You must be logged in to view attached files.
  • #3259

    Bitahwa Bindu
    Keymaster

    Don’t confuse things, you must watch carefully the tutorials to the end. Why are you using the lcd.h and lcd.c file while you are already using the PIC18F peripheral library?

    You cannot use two libraries at the same time which are supposed to do the same things.

    Tutorial 5 and 22 use different libraries and the code is different. So you must decide which library to use for your tutorial not both.

    You are inserting tutorial 22 library files but in your code you are using tutorial 5 functions.

    And when you post code, you must also specify which errors you are getting, you can not just write: I’m still getting errors. Which errors? Depending on the environment I have, I might get different errors than yours when I compile your code. So I can’t guess the errors you are getting.

     

You must be logged in to reply to this topic.