Page 1 of 1

Custom Main Help

Posted: Tue Sep 18, 2012 5:25 am
by catman78
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

Re: Custom Main Help

Posted: Tue Sep 18, 2012 8:16 am
by rimai
change this:

Code: Select all

ReefAngel.Params.Temp1
To this:

Code: Select all

ReefAngel.Params.Temp[T1_PROBE]