Python code
Arduino code