added arduino code that tries to get all 10 bytes at once