Screenshot

Arduino Code:

Processing Code: