Custom Main Help

New members questions
Post Reply
catman78
Posts: 31
Joined: Thu Aug 16, 2012 10:06 am

Custom Main Help

Post 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
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Custom Main Help

Post by rimai »

change this:

Code: Select all

ReefAngel.Params.Temp1
To this:

Code: Select all

ReefAngel.Params.Temp[T1_PROBE]
Roberto.
Post Reply