The code in Reply #18 only disables interrrupts for a very brief period. That part of the program should fine.
...R