Update: It is working properly, but the wave coming out of the Arduino is really nasty/ringy and the digital input on my 'scope wasn't seeing it properly.
I tried looking at it in analogue and on a different 'scope and the signals are there, they're just horrible.