added arduino code for version 4.8