Hello :). I need some help in makecode so i can rotate an MG995 servo motor in anticlockwise direction and also to make it stop when it is done turning
Hi @a_second_person & welcome to the forum!
Do you mean you want 0 to be full rotation and 180 to be no rotation? The map
function in the math
toolbox may behave the way you want. Here’s an example: https://makecode.microbit.org/S32402-55227-51399-33502