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...
First thing that seems unusual to me is LCDOUT inside the ISR handler. That is something I would not do.
Secondly, there is a statement if freq < 68 then freq = 136 followed by freq = freq/68. As...
Re: Revert a port from PWM to Digital I/O
Thank you Henrik.
Ioannis Yesterday, 19:30Its ok now,
Ioannis