Microbit controller with Kitronik board and servo

Hi there
I’m a secondary school student and I need help with programming my micro bit controller, with Kitronik board. I’m trying to program a servo motor to turn when I hit the ‘A’ button and then turn again every time I hit it. However I cannot get it to do so. I know this problem is very basic and embarrassing simple for people but I cannot seem to figure it out. I would really appreciate if someone could help me with the code, and I’m using the microbit maker code.
Please help thanks for your time


this forum is for the Mbed and not for the MakeCode.

However, Google search is your best friend in this case.
The result seems to be this - kitronikltd/pxt-kitronik-servo-lite - MakeCode - Micro:bit

BR, Jan