Hi to all, I am an advanced sortware engineer specialising in c compiler programs. By a guided book of " Projects in C for U" . I am building my latest project but I am having errors. I have tried attach all the files. I have compiled it in Keil uvision 4. Pls can anyone help me out to get the program working.
Any help would be really appreciated.
I am having this error in Keil :
Build target 'Target 1' compiling LED Binary Counter.c... LED BINARY COUNTER.C(29): warning C206: 'wait_a_sec': missing function-prototype LED BINARY COUNTER.C(12): warning C1046: 'shoot_bred': missing function name is linking... *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?WAIT_A_SECOND?LED_BINARY_COUNTER *** WARNING L1: UNRESOLVED EXTERNAL SYMBOL SYMBOL: WAIT_A_SEC MODULE: LED Binary Counter.obj (LED_BINARY_COUNTER) *** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: WAIT_A_SEC MODULE: LED Binary Counter.obj (LED_BINARY_COUNTER) ADDRESS: 082EH Program Size: data=11.0 xdata=45212 code=54487 creating hex file from "LED Binary Counter"... "LED Binary Counter" - 0 Error(s), 5 Warning(s).
#define variable static int ... { ... variable x; ... }