I think I roughly have this down now @klakma , although it's a work in progress so I won't show it yet.
But I think you/ I might have too many buttons. (I understand it's on a shield)
The way I have it set up currently is that you can set a target temperature for the top thermistor or the bottom thermistor, or both together.
So...
- If you have the top therm selected, up/down will adjust the target temp for the top.
- If you have the bottom therm selected, up/down will adjust the target temp for the bottom.
- If you have the global temp selected, up/down will adjust the target temp for both the top and bottom.
- The left button cycles through the selections and wraps to the start so: global/top/bottom... global/top/bottom etc.
- The right bottom toggles on/off the servo.
I now don't have a use for the 'select' button. Are there any other functions you wish to have on this? Once it's all working a timer/alarm would be cool to add.