add Processing code and relevant Arduino code