from microbit import * display.off() pin16.write_digital(0) pin15.write_digital(0) while True: # prvi izlaz if button_b.get_presses(): pin16.write_digital(1) sleep(500) pin16.write_digital(0) # drugi izlaz if button_a.get_presses(): pin15.write_digital(1) sleep(500) pin15.write_digital(0)