arduino code ready for testing