Create arduino code using char array