Thanks Jerson.
At the moment it looked OK to have the LCDout inside the regularly called ISR, as it updatetd the LCD often. If the freq is low enough 1-2 Hz, it updates every second the LCD because of the Pause commands.
Anyway, I moved the LCDout inside the Halfbridge sub and corrected the IF statement (<68 then freq=136). This helped much but not completely.
The final solution was to remove the ISR alltogether. Seems there is something fundamentally wrong with my ISR setup.
Ioannis
Bookmarks