Adafruit

I saw this nice project of secret knock using adafruit Trinket.
Does anyone know if it will work using digispark USB stump??

It should work fine.