sangeo
Member level 2

Hai I am using Microc PRO IDE for my program develop, I am developing a program for ac voltage control (230vac control - using 0-5v dc proportional signal)
Conditions and problems of my program given below
When voltage is above 250 or below 180 output relay will trip and corresponding LED (LOW/HIGH) will glow. At the same time it write the voltage and time to EEPROM Memories consecutive locations and displays it on virtual terminal also. Up to this is working well in my program, but I am intending to implement one more function “Called()” in program to read EEPROM Contents manually by pressing 3 in keyboard . But when I am calling these function from main program , error signal starts, even “called ” function is empty or with some lines of instruction. In the attached program Called function is empty. The error signal shows some unwanted symbols in virtual terminal(one coma symbol in first line or sometimes other some symptom ). Also sometimes (with some statements in called function) gets blank in virtual terminal. I don’t know why happens like this. Is there any stack overflow ?. I have only experience in writing of small programs and this is the first time I am writing a large program like this. And I am not experienced with structured /modular style c programming.. Please Help me …
Please Find the attached documents
Conditions and problems of my program given below
When voltage is above 250 or below 180 output relay will trip and corresponding LED (LOW/HIGH) will glow. At the same time it write the voltage and time to EEPROM Memories consecutive locations and displays it on virtual terminal also. Up to this is working well in my program, but I am intending to implement one more function “Called()” in program to read EEPROM Contents manually by pressing 3 in keyboard . But when I am calling these function from main program , error signal starts, even “called ” function is empty or with some lines of instruction. In the attached program Called function is empty. The error signal shows some unwanted symbols in virtual terminal(one coma symbol in first line or sometimes other some symptom ). Also sometimes (with some statements in called function) gets blank in virtual terminal. I don’t know why happens like this. Is there any stack overflow ?. I have only experience in writing of small programs and this is the first time I am writing a large program like this. And I am not experienced with structured /modular style c programming.. Please Help me …
Please Find the attached documents