Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by bmb_10

  1. B

    Problem with MPLAB with CCS Compiler code

    Hi Papizo, sorry for the delay in responding, but i have had a lot of work these days. I was looking at the datasheet of the GPS 9540 module and now I have to ask yourself: How is going the study of the CCS book? Have you get the chapter for communication modules? It seems (I have never worked...
  2. B

    Problem with MPLAB with CCS Compiler code

    Hi papizo, which microcontroller are you using and what model is your GPS module? Greetings!
  3. B

    Error: a #device required before this line ccs c

    Hi bioda, I have reviewed your program and there were still some things that were not in the order that requires the CCS compiler (remember studying well the book). Here is the fixed code. Instuctions that is commented out you don't need it by now: #include<16F877.h> #fuses HS,NOWDT #use...
  4. B

    Error: a #device required before this line ccs c

    Ok, why are you using it? Delete that line and recompile. In that file is declared almost the same that is in 16F877.h, and you can't declare two or more times many of these things. Remember that the header order is always as follows (also change this): #include<16F877.h>...
  5. B

    Error: a #device required before this line ccs c

    Hi bioda, why are you placing this file: C:\Users\xyz1\Desktop\xyz_new\lab tutorial.h in the header of your program? As I told you before, I would like to see their content. Greetings!
  6. B

    How to release ferrite transformers without break it

    Hi FvM, how much temperature shall be sufficient? Perhaps if the transformer is immersed in boiling water? Some other method to heat it up? Best Regards!
  7. B

    problem with reading the button input?

    Some LCD driver instructions takes a long time. For example lcd_putc() causes the compiler to display some warnings, then should not be used directly in the interrupt routine. Best Regards!
  8. B

    Error: a #device required before this line ccs c

    If after making the revisions I asked you, all that is as I showed you in post #13, then it is possible that you have a problem with the compiler. V4.105 is now an old version, and it is better that you find a more recent one. Greetings!
  9. B

    problem with reading the button input?

    Hello hemnath, once the variable in the interrupt routine has been activated, you can be sure that the routine within the if() is executed. I think that the delay your program is presenting now, is due to the large number of lines that it have. If what the program have to do once you press the...
  10. B

    problem with reading the button input?

    Hi hemnath, I believe that bigdogguru has given you a very good idea. You can implement that as follows (is only a small example): #include <18F2520.h> #device adc=16 #FUSES NOWDT //No Watch Dog Timer #FUSES WDT128 //Watch Dog Timer uses 1:128 Postscale...
  11. B

    problem with reading the button input?

    Hi hemmath, with that Timer1 interrupt you're doing an interrupted poll (only can detect the button during interrupt). Really, I think the only safe solution would be to use a pin with interrupt capacity. Another possibility if you can, would be if you're using a clock speed of 4MHz for...
  12. B

    Error: a #device required before this line ccs c

    Hi coolvasanth07, did you the tests that I told you? was everything OK?
  13. B

    Error: a #device required before this line ccs c

    Hi bioda, can we see the contents of the file: C:\Users\xyz1\Desktop\xyz_new\lab tutorial.h? Also you can try to compile the code without that line. It seems that in that file has already been declared the PIC's library. Best Regards! - - - Updated - - - If you want lo learn CCS (That is...
  14. B

    Error: a #device required before this line ccs c

    OK, I can compile that program without problems, so it seems that you have an additional path problem. Do the following: Open CCS C compiler and go to Menu -> Options -> Project Options. It opens a new window in which you should see the following in the 'Files' tab: - Target: PIC16F877A -...
  15. B

    Error: a #device required before this line ccs c

    Hello coolvasanth07, after seeing your code, I can see several errors. First, and as Tahmid said should be the PIC header but enclosed between the simbols <> That mean that this library is located in the default directory assigned by the compiler, in this case: C:\Program Files\PICC\Devices...

Part and Inventory Search

Back
Top