The code running on the arduino is pretty simple, so we can write a small script to output a set of responses for some inputs.