What's wrong with my servo?

ser.attach(D7);

Does this compile ?