updated license and added arduino code