Arduino Pass Variable To Function Properly The Head