A full example that really works

Just change the serial port name to match where your arduino is plugged in.