@PeterK , C , / , , ( ).
3- 1 .
, , , , :
- ex. (sInverterState, sButtonsState, sInverterParameters ..).
- If I write a UI menu, I can use static variables in the C file and do not care about passing structures when I have only 1 LCD. I do not want it to look like GTK ++.
- Writing a re-code is not yet for me and its overdoing for this purpose.
- Get the right IT education.
I can end up with a lot of globals, but at least they are well-packaged and readable.
source
share