# L5- Mesagerie pentru sensori # La miscare se genereaza mesaj from microbit import * import speech while True: x = accelerometer.get_x() print(x) sleep(200) if x>50 : #display.scroll("Scoala Viitorului") speech.say("hello dear students") sleep(200) #speech.pronounce(speech.translate("hello dear students")) sleep(200) speech.say("The school of the future is here!") sleep(200) speech.say("Good by") sleep(1000) # delay ms