Hi, did setup a simple button/output example that will react on double click and keep the output ON for 6secs.......and so on.
I have no use for longpressed and did not put any code into my ATmega328p. To check for stability i simply did press LONG on the button and now the system does not react anymore to my double clicks, did wait for an hour but only repairs itself after a power off-on.
Any idea if i did anything wrong...my idea was that if i ignore longpress in my code it would simply ignore it completely....but this is not the case, or better said it kills the whole system.
Hi, did setup a simple button/output example that will react on double click and keep the output ON for 6secs.......and so on. I have no use for longpressed and did not put any code into my ATmega328p. To check for stability i simply did press LONG on the button and now the system does not react anymore to my double clicks, did wait for an hour but only repairs itself after a power off-on.
Any idea if i did anything wrong...my idea was that if i ignore longpress in my code it would simply ignore it completely....but this is not the case, or better said it kills the whole system.
Kind Regards Norbert