Quote from: Senso on May 19, 2011, 01:27 am and face it, the arduino core is covered in bugs, for example the port access's are not atomic, they can be interrupted, the devellopers didint used atomic blocks that avr-libc supports, nor is all the rest of the functions, not even the attachInterrupt code is atomic and that can lead to disaster.Is that something you can help fix?