First two options are not optimal because event are detected after delays. The last two options are using SCoop Sleep instead of delay. The last two options are better than the first ones.
SCoop should be installed at Arduino IDE
Un blog sobre maquinari lliure
First two options are not optimal because event are detected after delays. The last two options are using SCoop Sleep instead of delay. The last two options are better than the first ones.
SCoop should be installed at Arduino IDE