Having trouble running a 360 fs90r servo

D21 and D20 (A7 & A6) are analog inputs only. Use a different pin than A6 or A7.

Where did you get the idea that delay() takes a float data type. It does not.

Your diagram leaves a lot to be desired. How to create a schematic.