updated arduino script and read.py
merge