Updated servo example to set 50Hz frequency