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
Custom Main Help
Re: Custom Main Help
change this:
To this:
Code: Select all
ReefAngel.Params.Temp1
Code: Select all
ReefAngel.Params.Temp[T1_PROBE]
Roberto.