updated arduino comments

fixed arduino comments. removed redundant code