change sample file, updated arduino code for demo