I created the code without access to an actual Datel AR, the only the code handler i had(have) access to is my Cyclo DS Evo I'll probably be getting an ardsi at or a little after christmas, at which point i'll be able to modify the posted code and perfect it, because at writing that's (my Cyclo) the only hardware i've tested it on.
EDIT: I just noticed the code in my post you quoted, is an older incorrect version of the code, if you change all but the last D2 line to D1 it may fix what you've been experiencing.I'll fix my post where it's located.