Hi,
you probably run out of RAM.
Each time you print() something, the message to print eats some RAM.
Replace all DigiKeyboard.print("blabla") with DigiKeyboard.print(F("blabla")), this will force the string to be stored in Flash rather in RAM.
I hope DigiKeyboard.print() supports the F() macro, not tested...