The Talking Pi program

The Talking Pi programming logic is very simple. When Button1 is pressed, Label1 must display the text that is typed inside Textbox1 and TextToSpeech1 must read out that text. The steps for executing this block program are as follows:

  1. First, click on the Button1 component and select the when Button1.Click main block:
  1. Next, since we want to change the text of Label1 when Button1 is clicked, choose the Label1.Text block from the Label1 component:
  1. Next, drag the Label1.Text block inside the Button1.Click block to join ...

Get Hands-On Robotics Programming with C++ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.