Mar-05-2018, 11:23 AM
Found the solution, had to change the refresh method to this.
def refresh(_loop,_data): outputTxt = ['COMP3 ', (red_bg, 'DOWN '), "Bla\n"] outputTxt += ['COMP4 ', (green_bg, 'UP '), "Bla bla\n"] txt.set_text(outputTxt) loop.set_alarm_in(1,refresh)