Problem with a wemos R1 D2 Board

I tried changing the 2 for D2 and it worked thank you!!!