Welcome to our site! EDAboard.com is an international Electronic 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.
As a part of my project work i was given a circuit diagram and also a program.
This is a small internal project so i was just asked to tell what the program does.
I am not able to understand the program.Please help me to understand it View attachment program.txtView attachment cea ckt.pdf
If you ignore the LCD display part, which is for informational purposes only, you'll see, that the code is mainly reacting on the level changes of the DTMF outputs. The coding style isn't applying for a brilliancy prize, but understandable though. You need to get familiar with common methods of masking port bits and similar stuff.
I don't see any macro to translate the Delay() to any of the above functions, are you able to compile the code?
Maybe the Delay() function is defined in the LCD library but in that case why is the delay.h included in the main file where it is never used(it will be ignored by the compiler anyway if no function is used but still...)?
The timing unit of Delay() is an interesting detail, but not essential to understand the code operation, I think. Assuming either µs or instruction cycles won't change the order of magnitude that much.