add switch level for arduino