by TickTock (Posted Sun, 31 Mar 2013 16:45:29 GMT)
To add a new display mode:
1) in common.h: and add a new #define for your display mode with a numeric value 1 higher than the current maxScreens
2) in common.h: increment maxScreens
3) in displayModes.cpp: add your new procedure (i.e. void cpHistogram(bool force){})
4) in displayModes.cpp: edit the switch statement in the updateDisplay procedure to include a case entry pointing to your procedure using the value you defined in common.h
To add a new display mode:
1) in common.h: and add a new #define for your display mode with a numeric value 1 higher than the current maxScreens
2) in common.h: increment maxScreens
3) in displayModes.cpp: add your new procedure (i.e. void cpHistogram(bool force){})
4) in displayModes.cpp: edit the switch statement in the updateDisplay procedure to include a case entry pointing to your procedure using the value you defined in common.h