Revise Arduino code (serial corruption mostly fixed)

Constant readings now gone
Add csv IO script