Skip to content

Project: Micro:bit voice synthesizer

import speech
from microbit import *

while True:
    if button_a.is_pressed():
        speech.say("I love Fabricademy")
        sleep(1000)
    if button_b.is_pressed():
        speech.say("Welcome to the Bootcamp")
        sleep(1000)