Added existing arduino code.