Arduino code for ORC