Experimental code I use to visualize and record the output from an ADXL335 wired to an Arduino. The code uses PySerial and wxPython.