Hi Peter,
The pgen function is not important for me as I don't use it.
I'm focusing on printing values to GLCD:
S1 : 0.000 [L/h]
R1 : 0.000 [L/h]
BR1: 0.000 [L/h]
TB1: 0.000 [L]
S2 : 0.000 [L/h]
R2 : 0.000 [L/h]
BR2: 0.000 [L/h]
TB2: 0.000 [L]
I've succeeded in getting the values displayed on the 128x64 GLCD, however there are some inconsistencies between the TotalBurn values logged on the serial monitor and the values displayed on tha GLCD. But then again, the refresh rates are different, that might have something to do with it. it's only 0.06 L and is seems to be pretty constant, so it propably no big deal. Further testing is required!