Help me converting this UNO code to Nano

Did you select the correct port?