Fix arduino code up.
Add comments.