Hi Jenny,
Did you buy the mBot add_on pack? Which add-on pack do you have?
Regarding to the problem, first please make sure the servo is connected to the slot 1 on the me RJ25 adapter and the RJ25 adapter is connected to Port 1 on the mCore board.
Secondly, on mBlock 3 software, you need upgrade firmware before testing above program. Here please refer to the following steps have a try:
- Upgrade firmware for mBot by going to connect->Upgrade firmware (you need connect the seriao port first before upgrade firmware).
- Run the following program and see if the servo works
According to your program, when you run it the first time, the servo will rotate to the angle 90 degree. When you run the program again, the angle is already on 90 degree and it won’t rotates.