rename to code.ino and update stuff

comments
prevent looping
change const to vars
Serial for debugging