This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

c-file include header-file twice

I work with the MDK version from Keil... In my project I've got three separate c-files with their own header-files.

I can see all three c-files in the project workspace with their included header-files. So far so good, but I don't know why some c-files include one and the same header-file twice?

I don't include any header-file twice. In one header-file I use one extern variable declaration (not definition). I use this variable in two c-files. In on e of them (without the declaration) - µvision included this header-file twice. What's the specific reason for this property?

thanks in advance
Frank

Parents
  • "sorry but i look but dont see how to start new message"

    So how did you find the forum in the first place?

    Here is the introduction page: http://www.keil.com/forum

    Read it - including the Terms of Use and Message Posting Tips - and, in the left-hand column, you will see a link to 'Start a Thread'.

    You're going to need to put in a lot more effort if you want to display TV pictures from an 8051 - it may be "cool", but it's not trivial...!

Reply
  • "sorry but i look but dont see how to start new message"

    So how did you find the forum in the first place?

    Here is the introduction page: http://www.keil.com/forum

    Read it - including the Terms of Use and Message Posting Tips - and, in the left-hand column, you will see a link to 'Start a Thread'.

    You're going to need to put in a lot more effort if you want to display TV pictures from an 8051 - it may be "cool", but it's not trivial...!

Children
  • Don't assume that every forum have easy buttons where messages can be moved around. A lot of responsibility lies on the posters, to think before posting.

    About TV signals: It is quite a lot harder to emit in color compared to emitting a monochrome image.

    But you haven't even mentioned what TV system you have in your country. PAL, NTSC, SECAM, ...?

    Google for the TV system. Then you should be able to find information about the timing required for the signal. Then you have to figure out how to time the horisontal and vertical sync signals. The processor speed will affect the possible horisontal resolution. A big problem is to avoid too much jitter in the image.

    For color output, extreme timing is required, to get the TV to synchronize perfectly with the signal. I would not like to generate the color burst signal used (at least) by the PAL system. Remember that the analog color transmissions are extensions of monochrome transmissions, i.e. the color information if superimposed on a monochrome transmission.

  • Should be in the other thread, but I have tried 10 times to post in the video thread. About the 10th time I manged to click the wrong thread and of course managed to post... I hate when the forum fails on us!