Operácie

Hovoriaci micro:bit

Zo stránky SensorWiki

Zatial to nejde v makecode, ale v pythone ano, a to aj starsia verzia, len potrebuje externy reproduktor

import speech
from microbit import *

# Switch off the internal speaker 
speaker.off()

# Play a sound
audio.play(Sound.HELLO)

# The say method attempts to convert English into phonemes.
sleep(1000)
speech.say("Hello!")
sleep(1000)
speech.say("I am microbit!")
sleep(1000)
speech.say("Welcome to the webinar!")
sleep(1000)