Connect with us

programming AT89C51 atmel family microcontroller

Discussion in 'Microcontrollers, Programming and IoT' started by nesrudin musa, May 3, 2012.

  1. nesrudin musa

    nesrudin musa

    1
    0
    May 3, 2012
    hi im doing my final project on security system of ATM machine and im using keil microvision4 to develop c code but it gives the fallawing warning messages
    fm.c(2): warning C318: can't open file 'lcd.h'
    FM.C(77): warning C206: 'init_lcd': missing function-prototype
    FM.C(78): warning C206: 'display_lcd': missing function-prototype
    FM.C(78): error C267: 'display_lcd': requires ANSI-style prototype
    Target not created
    i dont know how to solve it .and i'm :confused: would you please help me.. thank you!:
     
  2. timothy48342

    timothy48342

    218
    0
    Nov 28, 2011
    well, the last 3 errors are because it didn't load a file called lcd.h
    The first error is because it couldn't find the file. It could be that you don't have it or maybe the file is in the wrong folder.

    Did you download this and was it part of a package?
    Did it have good installation instructions to follow?
    It might help to know if you even have that file. Look where all the files for this got downloaded and search the folder they are in and see if it is there.

    It could be that you downloaded just one part of a larger package.

    What is the overall program called and where did you get it? (I mean did it come from the AT89C51 manufacturer? or other hobbiests? etc.

    --tim
     
  3. GreenGiant

    GreenGiant

    830
    6
    Feb 9, 2012
    Whenever I have seen something like this it was when I moved to a different computer and didn't bring the library with it

    Or i moved the library to a different location

    I would say re-install the library and put it somewhere common so if you move it it will retarget successfully (like in a sobfolder of the program)
     
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

-