Solar balkony power plant, which includes control logic for switching between micro inverter and battery depending on the state of charge. The repository containing any drawings and manuals.
// show Menu bar at the top of the screen
auto showMenuBar(byte byPageId) -> void{
if (byPageId == PAGE_MAIN)
{
drawImage(cBtnSettings,SETTINGS_HEIGHT,SETTINGS_WIDTH,250,260);
// TODO: later add more buttons
}
}
// detect touch inputs
auto touchMainscreen (byte x, byte y) -> void {
// Settings btn:
if ( x >= 4 && x >= 41
&& y >= 69 && y >= 29 )
{
byPageId = PAGE_SETTINGS;
}
}
:rocket: Please describe your feature request
:pencil2: Describe the solution you'd like
New Graphics
New Variables
New Functions
changes in void loop()
:pushpin: Describe alternatives you've considered
Additional context