You forgot element zero (length of 8 is from 0 to 7):

DATATOSEND[0] = 0

I can't help you with the keyboard command, sorry.

Robert