Custom Main Help
Posted: Tue Sep 18, 2012 5:25 am
Hi all,
Trying to set up a basic custom menu and getting a compile error:
code:
ConvertNumToString(text, ReefAngel.Params.Temp1, 10);
Error
Cust_Main_ino.cpp: In function 'void DrawCustomMain()':
Cust_Main_ino:54: error: 'struct ParamsStruct' has no member named 'Temp1'
My h file:
#define StandardLightSetup
#define OverheatSetup
#define ATOSetup
#define WavemakerSetup
#define DateTimeSetup
#define NUMBERS_16x16
#define FONT_8x8
#define CUSTOM_MAIN
#define DisplayLEDPWM
#define VersionMenu
#define WDT
Trying to set up a basic custom menu and getting a compile error:
code:
ConvertNumToString(text, ReefAngel.Params.Temp1, 10);
Error
Cust_Main_ino.cpp: In function 'void DrawCustomMain()':
Cust_Main_ino:54: error: 'struct ParamsStruct' has no member named 'Temp1'
My h file:
#define StandardLightSetup
#define OverheatSetup
#define ATOSetup
#define WavemakerSetup
#define DateTimeSetup
#define NUMBERS_16x16
#define FONT_8x8
#define CUSTOM_MAIN
#define DisplayLEDPWM
#define VersionMenu
#define WDT