Added/parameterized Arduino code