Hi PhilippThank you for the input and the heads up on the volatile keyword. I
Have changed all interrupt modified variables as "char volatile" and checked
again.
However, my problem is not yet solved. The input port bit is not being read
after the first time.
At the lines you pointed, the loop
Am 23.10.19 um 10:14 schrieb Shivakumar R via Sdcc-user:
> Hi
> I have been using STM8 and SDCC for about 2 months now.
> I'm facing an issue these last two days that I can't seem to figure out.
> The code is supposed to read an input port, confirm the key is pressed
> for 8 seconds, then call ano
HiI have been using STM8 and SDCC for about 2 months now.I'm facing an issue
these last two days that I can't seem to figure out. The code is supposed to
read an input port, confirm the key is pressed for 8 seconds, then call another
routine for further 3 key inputs.There's a tim2 interrupt(over