Plug the door servo into Robotbit servo socket S1 (brown/black GND, red V+, orange/yellow signal — match the socket).
Robotbit servos do not use pin P0 (P0 is the buzzer).
Open the door with button A and close it with button B.
Start by dragging these blocks:
- on button A pressed from Input
- open door from Teknubi — snap inside A
- on button B pressed from Input
- close door from Teknubi — snap inside B
Tips
- Defaults: open is about 60°, closed about 160°. You will calibrate next.
- Try it: click A / B on the simulator, then on the real micro:bit.