Well I have just finished a project that for an electronic board, which will serve for the indication of tank mixing and production lines in a company here in my country, the project fairly economical with regard to buy the board already done.
* 2 x 20 LCD display for the data entered
* Keyboard 4 x 4 matrix for entry operator
* 80C52FA and brain.
* Siren for the indication has been received that a change
* 8 display 7 segments 4"
Hen I planted the project, the question i hav is menera making each separate part of the plate code and the party power to the union used straps with IDC connectors 20 and 10 pin terminals besides 2 to coneciones supply and alarm.
void main( void ) { getkeyvalue (); checklevel (); outputnumber (); main (); }
Greetings to all and thanks to you all
slock, where do you initialize your hardware? I mean, if main() calls main(), maybe you get the initialization stuff via static variables? if you do, Per's remarks about the compiler are even more important as you cannot guarantee the order of static variables initialization (unless you take sepcial steps...)
i tryed to have a loop but i get errors everywhere. what is wrong?
Your code?
Obviously, we can't answer your question unless you show the failing code.
void main( void ) { // initialize your hardware here... while (1) { getkeyvalue (); checklevel (); outputnumber (); } }