MASS Arduino Code