Use ATOMIC_BLOCK macro
Merge branch 'master' of https://github.com/aport/avr-example