updated arduino C file for pan servo