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.
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...
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...
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>...
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!
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!
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!
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!
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...
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...
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...
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...
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
-...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.