New design layout

Related to the development libraries, released by Curt Binder

Posts: 5
Joined: Wed Oct 09, 2013 10:09 am
PostPosted: Tue Jan 21, 2014 8:34 am
just updated to the new display this weekend. noticed that the head unit menu overheat setting is overriding what i entered through the wizard. what other settings in the menu overrides wizard settings?

i've since changed the overheat setting from 78 to 85.

Posts: 11973
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Tue Jan 21, 2014 9:06 am
Are you using internal memory settings?
Roberto.

Posts: 5
Joined: Wed Oct 09, 2013 10:09 am
PostPosted: Sun Jan 26, 2014 11:32 am
sorry, bonehead mistake on my part. put in the set temp as overheat temp in the wizard. fixed now.

no, just the recommended for new users "in the code" setting.

Posts: 104
Joined: Sun Mar 17, 2013 8:21 am
PostPosted: Sun Feb 02, 2014 8:08 am
So I'm using the example from CustomMainScreen_PowerControlExpansion and I was wondering if the relay expansion port labels are supposed to display starting at "Port 11" going through "Port 18"?

I understand why it's happening. #define Box1_Port1 11 in Globals.h. I'm just wondering if the new screens need code added to change the label to either "Port 9" through "Port 16" or "Exp Port 1" through "Exp Port 8" or if this is the desired label?

Posts: 104
Joined: Sun Mar 17, 2013 8:21 am
PostPosted: Sun Feb 02, 2014 8:16 am
Okay, now I understand.

It's done in ReefAngelClass::InitCustomLabels():
Code: Select all
#ifdef RelayExp
   for (int a=1;a<=MAX_RELAY_EXPANSION_MODULES;a++)
      for (int b=1;b<=8;b++)
         CustomLabels[(a*8)+b-1]=String("Port "+ String(a) + String(b));
#endif // RelayExp


So "String("Port "+ String(a) + String(b))" giving 18 means "Box 1 Port 8".

Posts: 53
Joined: Fri May 17, 2013 2:27 am
PostPosted: Fri Apr 11, 2014 12:07 am
nice work I like the layout. Im guessing in time all the sub menus could be dolled up to be more graphical.. Its w nice feature set you have going here..
Image
Previous

Return to Development Libraries

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron