sample demo script for arduino