Processing and Arduino code for example